summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/usbhid.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2009-05-27 19:27:29 +0000
committerthompsa <thompsa@FreeBSD.org>2009-05-27 19:27:29 +0000
commit9fc2aafa8283c2dc1af8bfbfd1d727b16c0837d2 (patch)
tree27c858fb9fc7d53043610591041a325fc8384a61 /sys/dev/usb/usbhid.h
parentf75ac1b5be0500540e42dcd7f9b58a4bdb544c96 (diff)
downloadFreeBSD-src-9fc2aafa8283c2dc1af8bfbfd1d727b16c0837d2.zip
FreeBSD-src-9fc2aafa8283c2dc1af8bfbfd1d727b16c0837d2.tar.gz
Add support for the Apple MacBook Pro keyboard
- add key mappings for fn keys - byte swapping for certain models - Fix leds for keyboards which require an ID byte for the HID output structures Submitted by: Hans Petter Selasky
Diffstat (limited to 'sys/dev/usb/usbhid.h')
-rw-r--r--sys/dev/usb/usbhid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usbhid.h b/sys/dev/usb/usbhid.h
index db6d370..0e93b1a 100644
--- a/sys/dev/usb/usbhid.h
+++ b/sys/dev/usb/usbhid.h
@@ -128,6 +128,7 @@ struct usb2_hid_descriptor {
#define HUG_SYSTEM_MENU_LEFT 0x008b
#define HUG_SYSTEM_MENU_UP 0x008c
#define HUG_SYSTEM_MENU_DOWN 0x008d
+#define HUG_APPLE_EJECT 0x00b8
/* Usages Digitizers */
#define HUD_UNDEFINED 0x0000
OpenPOWER on IntegriCloud