summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-11-26 13:26:33 +0100
committerJiri Kosina <jkosina@suse.cz>2008-01-28 14:51:21 +0100
commit628edcde87592a7ac6e72b555bb03ea265bcfbd2 (patch)
tree8ccffe1a294b0cb31f54cf0b5858b445a16dcd9c /include
parent9a15c99714ca229dd0b894e200fd96daf14f32fb (diff)
downloadop-kernel-dev-628edcde87592a7ac6e72b555bb03ea265bcfbd2.zip
op-kernel-dev-628edcde87592a7ac6e72b555bb03ea265bcfbd2.tar.gz
HID: proper handling of MS 4k and 6k devices
This removes ugly macros IS_* to distinguish devices that need special handling in hid-input, and establish proper quirks for them. Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hid.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/hid.h b/include/linux/hid.h
index 33ec333..24f04cd 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -283,6 +283,7 @@ struct hid_item {
#define HID_QUIRK_IGNORE_HIDINPUT 0x01000000
#define HID_QUIRK_2WHEEL_MOUSE_HACK_B8 0x02000000
#define HID_QUIRK_HWHEEL_WHEEL_INVERT 0x04000000
+#define HID_QUIRK_MICROSOFT_KEYS 0x08000000
/*
* Separate quirks for runtime report descriptor fixup
OpenPOWER on IntegriCloud