usb_register_driver(&hidkb);
}
-
void usb_hidkb_probe()
{
struct usb_device *dev;
if(dev->conf->intf->bInterfaceClass == HID_CLASSCODE &&
dev->conf->intf->bInterfaceSubClass == 1 && /* keyboard support boot protocol? */
dev->conf->intf->bInterfaceProtocol == 1) { /* keyboard? */
-
-
hidkb.data = (void*) dev;
}
}
}
-
void usb_hidkb_check()
{
}