18 #include <linux/device.h>
19 #include <linux/hid.h>
20 #include <linux/module.h>
28 if (*rsize >= 60 && rdesc[39] == 0x2a && rdesc[40] == 0xf5 &&
29 rdesc[41] == 0x00 && rdesc[59] == 0x26 &&
30 rdesc[60] == 0xf9 && rdesc[61] == 0x00) {
31 hid_info(hdev,
"fixing up Petalynx Maxter Remote report descriptor\n");
38 #define pl_map_key_clear(c) hid_map_usage_clear(hi, usage, bit, max, \
42 unsigned long **
bit,
int *
max)
76 ret = hid_parse(hdev);
78 hid_err(hdev,
"parse failed\n");
84 hid_err(hdev,
"hw start failed\n");
101 .id_table = pl_devices,
102 .report_fixup = pl_report_fixup,
103 .input_mapping = pl_input_mapping,
107 static int __init pl_init(
void)
112 static void __exit pl_exit(
void)