Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

HID: topre: Add support for 87 keys Realforce R2

The tenkeyless version of the Realforce R2 has the same issue of the
full size one, the report fixup is needed to make n-key rollover
work instead of 6 key rollover

Signed-off-by: Alessandro Manca <crizan.git@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>

authored by

Alessandro Manca and committed by
Jiri Kosina
dbf56d2f 50c6b976

+4 -1
+1 -1
drivers/hid/Kconfig
··· 1122 1122 tristate "Topre REALFORCE keyboards" 1123 1123 depends on HID 1124 1124 help 1125 - Say Y for N-key rollover support on Topre REALFORCE R2 108 key keyboards. 1125 + Say Y for N-key rollover support on Topre REALFORCE R2 108/87 key keyboards. 1126 1126 1127 1127 config HID_THINGM 1128 1128 tristate "ThingM blink(1) USB RGB LED"
+1
drivers/hid/hid-ids.h
··· 1252 1252 1253 1253 #define USB_VENDOR_ID_TOPRE 0x0853 1254 1254 #define USB_DEVICE_ID_TOPRE_REALFORCE_R2_108 0x0148 1255 + #define USB_DEVICE_ID_TOPRE_REALFORCE_R2_87 0x0146 1255 1256 1256 1257 #define USB_VENDOR_ID_TOPSEED 0x0766 1257 1258 #define USB_DEVICE_ID_TOPSEED_CYBERLINK 0x0204
+2
drivers/hid/hid-topre.c
··· 36 36 static const struct hid_device_id topre_id_table[] = { 37 37 { HID_USB_DEVICE(USB_VENDOR_ID_TOPRE, 38 38 USB_DEVICE_ID_TOPRE_REALFORCE_R2_108) }, 39 + { HID_USB_DEVICE(USB_VENDOR_ID_TOPRE, 40 + USB_DEVICE_ID_TOPRE_REALFORCE_R2_87) }, 39 41 { } 40 42 }; 41 43 MODULE_DEVICE_TABLE(hid, topre_id_table);