Lines Matching +full:145 +full:- +full:3

1 // SPDX-License-Identifier: GPL-2.0-only
23 * - the device reports Eraser instead of using Secondary Barrel Switch
24 * - when the eraser button is pressed and the stylus is touching the tablet,
40 … // Usage (Eraser) 16 /* created over a padding bit at offset 29-33 */
60 0x55, 0x0d, // Unit Exponent (-3) 61
74 0x15, 0x81, // Logical Minimum (-127) 93
80 0x15, 0x81, // Logical Minimum (-127) 105
100 if (hctx->hid->product == PID_ARTIST_PRO14_GEN2) { in SEC()
105 } else if (hctx->hid->product == PID_ARTIST_PRO19_GEN2) { in SEC()
126 /* xor bits 0,3 and 4: convert Tip Switch + Invert into Eraser only */ in xppen_16_fix_eraser()
146 0, 3, 5, 8, 11, 13, 16, 19, 21, 24, 27, 29, 32, 35, 37, 40, 42, 45, 47, 50, 53,
149 129, 130, 132, 133, 134, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146,
152 148, 148, 147, 146, 145, 144, 143, 142, 141, 140, 139, 138, 137, 136, 134, 133,
157 88, 92, 96, 100, 104, 108, 112, 115, 119, 123, 127, 130, 134, 137, 141, 145, 148,
201 129, 132, 135, 137, 140, 142, 145, 147, 150, 152, 154, 157, 159, 161, 163, 165, 167,
218 __u8 angle = tilt > 0 ? tilt : -tilt; in compensate_coordinates_by_tilt()
226 coords = (coords > compensation) ? coords - compensation : 0; in compensate_coordinates_by_tilt()
229 __u16 max = logical_maximum - compensation; in compensate_coordinates_by_tilt()
261 * bytes 0 - report id in xppen_16_fix_angle_offset()
262 * 1 - buttons in xppen_16_fix_angle_offset()
263 * 2-3 - X coords (logical) in xppen_16_fix_angle_offset()
264 * 4-5 - Y coords in xppen_16_fix_angle_offset()
265 * 6-7 - pressure (ignore) in xppen_16_fix_angle_offset()
266 * 8 - tilt X in xppen_16_fix_angle_offset()
267 * 9 - tilt Y in xppen_16_fix_angle_offset()
273 switch (hctx->hid->product) { in xppen_16_fix_angle_offset()
311 * The device exports 3 interfaces. in probe()
313 ctx->retval = ctx->rdesc_size != 113; in probe()
314 if (ctx->retval) in probe()
315 ctx->retval = -EINVAL; in probe()
318 if (ctx->rdesc[17] != 0x45) /* Eraser */ in probe()
319 ctx->retval = -EINVAL; in probe()