Annotation of qemu/roms/seabios/src/usb-hid.h, revision 1.1.1.5

1.1       root        1: #ifndef __USB_HID_H
                      2: #define __USB_HID_H
                      3: 
                      4: // usb-hid.c
1.1.1.5 ! root        5: struct usbdevice_s;
        !             6: int usb_hid_init(struct usbdevice_s *usbdev);
1.1.1.3   root        7: inline int usb_kbd_active(void);
                      8: inline int usb_kbd_command(int command, u8 *param);
                      9: inline int usb_mouse_active(void);
                     10: inline int usb_mouse_command(int command, u8 *param);
                     11: void usb_check_event(void);
1.1       root       12: 
                     13: 
                     14: /****************************************************************
                     15:  * hid flags
                     16:  ****************************************************************/
                     17: 
                     18: #define USB_INTERFACE_SUBCLASS_BOOT     1
                     19: #define USB_INTERFACE_PROTOCOL_KEYBOARD 1
                     20: #define USB_INTERFACE_PROTOCOL_MOUSE    2
                     21: 
                     22: #define HID_REQ_GET_REPORT              0x01
                     23: #define HID_REQ_GET_IDLE                0x02
                     24: #define HID_REQ_GET_PROTOCOL            0x03
                     25: #define HID_REQ_SET_REPORT              0x09
                     26: #define HID_REQ_SET_IDLE                0x0A
                     27: #define HID_REQ_SET_PROTOCOL            0x0B
                     28: 
                     29: #endif // ush-hid.h

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.