Skip to content

Commit a2ebbb6

Browse files
author
Matthew Scheirer
committed
a156p keypad binds instead of buttons
1 parent 45e1d4d commit a2ebbb6

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

hid-uclogic-rdesc.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -908,16 +908,16 @@ const __u8 uclogic_rdesc_xppen_a156p_frame_arr[] = {
908908
0x75, 0x01, /* Report Size (1), */
909909
0x95, 0x08, /* Report Count (8), */
910910
0x81, 0x01, /* Input (Constant), */
911-
0x05, 0x09, /* Usage Page (Button), */
912-
0x19, 0x01, /* Usage Minimum (01h), */
913-
0x29, 0x08, /* Usage Maximum (08h), */
914-
0x95, 0x08, /* Report Count (8), */
911+
0x05, 0x07, /* Usage Page (Keypad), */
912+
0x19, 0x3A, /* Usage Minimum (F1h), */
913+
0x29, 0x41, /* Usage Maximum (F8h), */
914+
0x95, 0x08, /* Report Count (8), */
915915
0x81, 0x02, /* Input (Variable), */
916916
0x95, 0x20, /* Report Count (32), */
917917
0x81, 0x01, /* Input (Constant), */
918-
0x19, 0x09, /* Usage Minimum (09h), */
919-
0x29, 0x0A, /* Usage Maximum (0Ah), */
920-
0x95, 0x02, /* Report Count (2), */
918+
0x19, 0x42, /* Usage Minimum (F9h), */
919+
0x29, 0x43, /* Usage Maximum (F10h), */
920+
0x95, 0x02, /* Report Count (2), */
921921
0x81, 0x02, /* Input (Variable), */
922922
0x95, 0x16, /* Report Count (22), */
923923
0x81, 0x01, /* Input (Constant), */

0 commit comments

Comments
 (0)