aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/usb/template/usb_template_kbd.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2011-06-23 10:35:45 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2011-06-23 10:35:45 +0000
commitdf142785d5c32191c735e34b09962642d1ee81ac (patch)
tree23c9e9d256b4d9366441299951d1cf5f5a7f4ae2 /sys/dev/usb/template/usb_template_kbd.c
parentdcf496e844a6a5d58fb8685cb2509b996983f94d (diff)
downloadsrc-df142785d5c32191c735e34b09962642d1ee81ac.tar.gz
src-df142785d5c32191c735e34b09962642d1ee81ac.zip
- Add some comments about the origin of some USB descriptors.
MFC after: 7 days
Notes
Notes: svn path=/head/; revision=223472
Diffstat (limited to 'sys/dev/usb/template/usb_template_kbd.c')
-rw-r--r--sys/dev/usb/template/usb_template_kbd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/usb/template/usb_template_kbd.c b/sys/dev/usb/template/usb_template_kbd.c
index 4a9b9dae11b3..8928c0665e22 100644
--- a/sys/dev/usb/template/usb_template_kbd.c
+++ b/sys/dev/usb/template/usb_template_kbd.c
@@ -94,6 +94,8 @@ static const struct usb_temp_interval keyboard_intr_interval = {
.bInterval[USB_SPEED_HIGH] = 2 * 8,
};
+/* The following HID descriptor was dumped from a HP keyboard. */
+
static uint8_t keyboard_hid_descriptor[] = {
0x05, 0x01, 0x09, 0x06, 0xa1, 0x01, 0x05, 0x07,
0x19, 0xe0, 0x29, 0xe7, 0x15, 0x00, 0x25, 0x01,