18 #include <linux/device.h>
19 #include <linux/hid.h>
20 #include <linux/module.h>
31 if (*rsize >= 17 && rdesc[11] == 0x3c && rdesc[12] == 0x02) {
32 hid_info(hdev,
"fixing up Cherry Cymotion report descriptor\n");
33 rdesc[11] = rdesc[16] = 0xff;
34 rdesc[12] = rdesc[17] = 0x03;
39 #define ch_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
43 unsigned long **
bit,
int *
max)
68 .id_table = ch_devices,
69 .report_fixup = ch_report_fixup,
70 .input_mapping = ch_input_mapping,
73 static int __init ch_init(
void)
78 static void __exit ch_exit(
void)