Lines Matching +full:5 +full:- +full:inch
1 // SPDX-License-Identifier: GPL-2.0-only
17 * XP-Pen devices return a descriptor with the values the driver should use when
21 * ----- ----- ----- -----
23 * | | | `- Resolution: 5080 (13d8)
24 * | | `- Maximum pressure: 8191 (1FFF)
25 * | `- Logical maximum Y: 15240 (3B88)
26 * `- Logical maximum X: 20320 (4F60)
44 * Button 1: 06 00 05 00 00 00 00 00 -> b
45 * Button 2: 06 00 08 00 00 00 00 00 -> e
46 * Button 3: 06 04 00 00 00 00 00 00 -> LAlt
47 * Button 4: 06 00 2c 00 00 00 00 00 -> Space
48 * Button 5: 06 01 16 00 00 00 00 00 -> LControl + s
49 * Button 6: 06 01 1d 00 00 00 00 00 -> LControl + z
56 * Buttons 2 and 1: 06 00 08 05 00 00 00 00 -> e + b
58 * Buttons 1, 2, 4, 5 and 6 can be matched by finding their values in the
62 * and 5 generates this report:
64 * Buttons 3 and 5: 06 05 16 00 00 00 00 00 -> LControl + LAlt + s
65 * -- --
67 * | `- Button 5 (0x16)
68 * `- 0x05 = 0101. Button 3 is pressed
126 0x65, 0x13, /* Unit (Inch), */
127 0x55, 0x0d, /* Unit Exponent (-3), */
160 if (hctx->size == RDESC_SIZE_PAD) { in SEC()
163 } else if (hctx->size == RDESC_SIZE_PEN) { in SEC()
217 * - First interface: Pad in compatibility mode in probe()
218 * - Second interface: Pen in compatibility mode in probe()
219 * - Third interface: Only used in raw mode in probe()
223 ctx->retval = ctx->rdesc_size != RDESC_SIZE_PAD && in probe()
224 ctx->rdesc_size != RDESC_SIZE_PEN; in probe()
225 if (ctx->retval) in probe()
226 ctx->retval = -EINVAL; in probe()