summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJiri Kosina <jkosina@suse.cz>2007-06-18 13:30:11 +0200
committerJiri Kosina <jkosina@suse.cz>2007-07-09 14:13:33 +0200
commit92d9e6e607eb7f8f1d2a43935f45cf300cf6fdf8 (patch)
tree52a583569ad4262ea354941e604f464770ee7756 /include
parent5fce620c0c7caa9e8d9588e8dcc66c52c456851a (diff)
downloadop-kernel-dev-92d9e6e607eb7f8f1d2a43935f45cf300cf6fdf8.zip
op-kernel-dev-92d9e6e607eb7f8f1d2a43935f45cf300cf6fdf8.tar.gz
HID: support for Petalynx Maxter remote control
Petalynx Maxter remote control [1] 0x18b1/0x0037 emits 0xfa and 0xfc from consumer page (reserved in HUT 1.12) for back and more keys. It also emits a few usages from LOGIVENDOR page, which need adding. Also, this device has broken report descriptor - the reported maximum is too low - it doesn't contain the range for 'back' and 'more' keys, so we need to bump it up before the report descriptor is being parsed. Besides all this, it also requires NOGET quirk. This patch does so. [1] http://www.elmak.pl/index.php?option=com_phpshop&page=shop.browse&category_id=14&ext=opis&lang=en 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 6e45d10..e410679 100644
--- a/include/linux/hid.h
+++ b/include/linux/hid.h
@@ -277,6 +277,7 @@ struct hid_item {
#define HID_QUIRK_RESET_LEDS 0x00400000
#define HID_QUIRK_SWAPPED_MIN_MAX 0x00800000
#define HID_QUIRK_HIDINPUT 0x01000000
+#define HID_QUIRK_PETALYNX_DESCRIPTOR 0x02000000
/*
* This is the global environment of the parser. This information is
OpenPOWER on IntegriCloud