summaryrefslogtreecommitdiffstats
path: root/drivers/usb/input/hid.h
diff options
context:
space:
mode:
authorStelian Pop <stelian@popies.net>2005-09-05 01:57:33 -0500
committerDmitry Torokhov <dtor_core@ameritech.net>2005-09-05 01:57:33 -0500
commite875ce374759087771313c9e76b672b86ac20950 (patch)
tree210817d04ad7fd69bbbbb88aba9d5375e39aa828 /drivers/usb/input/hid.h
parent61cdecd9f5f602775af1e89c200179d093a94ae2 (diff)
downloadop-kernel-dev-e875ce374759087771313c9e76b672b86ac20950.zip
op-kernel-dev-e875ce374759087771313c9e76b672b86ac20950.tar.gz
Input: HID - add mapping for Powerbook USB keyboard
Map custom HID events (such as the ones generated by some Logitech and Apple Powerbooks USB keyboards) to the FN keycode. Signed-off-by: Stelian Pop <stelian@popies.net> Signed-off-by: Vojtech Pavlik <vojtech@suse.cz> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/usb/input/hid.h')
-rw-r--r--drivers/usb/input/hid.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/input/hid.h b/drivers/usb/input/hid.h
index 47f75a4..ec2412c 100644
--- a/drivers/usb/input/hid.h
+++ b/drivers/usb/input/hid.h
@@ -183,8 +183,8 @@ struct hid_item {
#define HID_UP_PID 0x000f0000
#define HID_UP_HPVENDOR 0xff7f0000
#define HID_UP_MSVENDOR 0xff000000
-#define HID_UP_LOGIVENDOR 0x00ff0000
-#define HID_UP_LOGIVENDOR2 0xffbc0000
+#define HID_UP_CUSTOM 0x00ff0000
+#define HID_UP_LOGIVENDOR 0xffbc0000
#define HID_USAGE 0x0000ffff
OpenPOWER on IntegriCloud