diff options
author | hselasky <hselasky@FreeBSD.org> | 2011-07-04 07:37:28 +0000 |
---|---|---|
committer | hselasky <hselasky@FreeBSD.org> | 2011-07-04 07:37:28 +0000 |
commit | 95ca970257de274a90a1a867048c5ace5acf532d (patch) | |
tree | d558e6ef0fc54c1a415eeea4eaf7614924edb09a /sys/dev/usb/usbhid.h | |
parent | ffb5cf471446f18c2ed162926526b1930bfa572b (diff) | |
download | FreeBSD-src-95ca970257de274a90a1a867048c5ace5acf532d.zip FreeBSD-src-95ca970257de274a90a1a867048c5ace5acf532d.tar.gz |
Make the USB keyboard driver more HID compliant.
Try to auto-detect keyboards which should use the BOOT protocol.
MFC after: 2 weeks
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r-- | sys/dev/usb/usbhid.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h index c07454f..4816e87 100644 --- a/sys/dev/usb/usbhid.h +++ b/sys/dev/usb/usbhid.h @@ -233,6 +233,8 @@ int32_t hid_get_data(const uint8_t *buf, usb_size_t len, struct hid_location *loc); uint32_t hid_get_data_unsigned(const uint8_t *buf, usb_size_t len, struct hid_location *loc); +void hid_put_data_unsigned(uint8_t *buf, usb_size_t len, + struct hid_location *loc, unsigned int value); int hid_is_collection(const void *desc, usb_size_t size, uint32_t usage); struct usb_hid_descriptor *hid_get_descriptor_from_usb( struct usb_config_descriptor *cd, |