diff options
Diffstat (limited to 'src/controllers/hid/hidblacklist.h')
-rw-r--r-- | src/controllers/hid/hidblacklist.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/controllers/hid/hidblacklist.h b/src/controllers/hid/hidblacklist.h new file mode 100644 index 0000000000..48d5083987 --- /dev/null +++ b/src/controllers/hid/hidblacklist.h @@ -0,0 +1,21 @@ +// Blacklisted HID devices + +#ifndef HIDBLACKLIST_H +#define HIDBLACKLIST_H + +typedef struct hid_blacklist { + unsigned short vendor_id; + unsigned short product_id; + unsigned short usage_page; + unsigned short usage; + int interface_number; +} hid_blacklist_t; + +hid_blacklist_t hid_blacklisted[] = { + {0x5ac, 0x253, 0xff00, 0x1, -1}, // Apple laptop chassis + {0x5ac, 0x8242, 0xc, 0x1, -1}, // Apple IR Remote Controller + {0x1157, 0x300, 0x1, 0x2, -1}, // EKS Otus mouse pad (OS/X,windows) + {0x1157, 0x300, 0x0, 0x0, 0x3}, // EKS Otus mouse pad (linux) +}; + +#endif |