14 #include <linux/device.h>
15 #include <linux/hid.h>
16 #include <linux/module.h>
22 static __u8 keytouch_fixed_rdesc[] = {
23 0x05, 0x01, 0x09, 0x06, 0xa1, 0x01, 0x05, 0x07, 0x19, 0xe0, 0x29, 0xe7, 0x15,
24 0x00, 0x25, 0x01, 0x75, 0x01, 0x95, 0x08, 0x81, 0x02, 0x95, 0x01, 0x75, 0x08,
25 0x81, 0x01, 0x95, 0x03, 0x75, 0x01, 0x05, 0x08, 0x19, 0x01, 0x29, 0x03, 0x91,
26 0x02, 0x95, 0x05, 0x75, 0x01, 0x91, 0x01, 0x95, 0x06, 0x75, 0x08, 0x15, 0x00,
27 0x26, 0xff, 0x00, 0x05, 0x07, 0x19, 0x00, 0x2a, 0xff, 0x00, 0x81, 0x00, 0xc0
33 hid_info(hdev,
"fixing up Keytouch IEC report descriptor\n");
35 rdesc = keytouch_fixed_rdesc;
36 *rsize =
sizeof(keytouch_fixed_rdesc);
49 .id_table = keytouch_devices,
50 .report_fixup = keytouch_report_fixup,
53 static int __init keytouch_init(
void)
58 static void __exit keytouch_exit(
void)