Skip to content

Commit d20f1ff

Browse files
committed
viewsonic: Raise minimum pressure in report descriptor
The Viewsonic PD1011 signature pad seems to always report minimum pressure value of 5, no matter if pen is touching the surface, or not. This plays havoc with the xf86-input-libinput driver making it not generate left button clicks. Raise the pressure minimum in the report descriptor to make it register clicks properly.
1 parent a7234cf commit d20f1ff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

hid-viewsonic.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ static __u8 pd1011_rdesc_fixed[] = {
6060
0x75, 0x10, /* Report Size (16), */
6161
0x95, 0x01, /* Report Count (1), */
6262
0x09, 0x30, /* Usage (Tip Pressure), */
63+
0x15, 0x05, /* Logical Minimum (5), */
6364
0x26, 0xFF, 0x07, /* Logical Maximum (2047), */
6465
0x81, 0x02, /* Input (Variable), */
6566
0x75, 0x10, /* Report Size (16), */

0 commit comments

Comments
 (0)