/* MGE UPS Systems ProtectionCenter */
{ .idVendor = 0x0463, .idProduct = 0xffff, .bcdDevice = ANY,
.quirks = { UQ_HID_IGNORE }},
+
+ /* Apple usb keyboard */
+ { .idVendor = 0x05ac, .idProduct = 0x0221, .bcdDevice = ANY,
+ .quirks = { UQ_NO_SET_PROTO}},
+
{ 0, 0, 0, { 0 } }
};
#define DPRINTFN(n,x)
#endif
-#define UPROTO_BOOT_KEYBOARD 1
-
#define NKEYCODE 6
struct ukbd_data {
if (id
&& id->bInterfaceClass == UICLASS_HID
&& id->bInterfaceSubClass == UISUBCLASS_BOOT
- && id->bInterfaceProtocol == UPROTO_BOOT_KEYBOARD)
+ && id->bInterfaceProtocol == UIPROTO_BOOT_KEYBOARD)
return 0; /* found it */
return EINVAL;