18 #include <linux/device.h>
19 #include <linux/hid.h>
20 #include <linux/module.h>
27 if (*rsize >= 107 && rdesc[104] == 0x26 && rdesc[105] == 0x80 &&
29 hid_info(hdev,
"fixing up Sunplus Wireless Desktop report descriptor\n");
30 rdesc[105] = rdesc[110] = 0x03;
31 rdesc[106] = rdesc[111] = 0x21;
36 #define sp_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
40 unsigned long **
bit,
int *
max)
62 .id_table = sp_devices,
63 .report_fixup = sp_report_fixup,
64 .input_mapping = sp_input_mapping,
67 static int __init sp_init(
void)
72 static void __exit sp_exit(
void)