5 struct usb_interface_descriptor;
6 int usb_keyboard_init(u32 endp, struct usb_interface_descriptor *iface
8 void usb_keyboard_setup();
12 /****************************************************************
14 ****************************************************************/
16 #define USB_INTERFACE_SUBCLASS_BOOT 1
17 #define USB_INTERFACE_PROTOCOL_KEYBOARD 1
18 #define USB_INTERFACE_PROTOCOL_MOUSE 2
20 #define HID_REQ_GET_REPORT 0x01
21 #define HID_REQ_GET_IDLE 0x02
22 #define HID_REQ_GET_PROTOCOL 0x03
23 #define HID_REQ_SET_REPORT 0x09
24 #define HID_REQ_SET_IDLE 0x0A
25 #define HID_REQ_SET_PROTOCOL 0x0B