HID: Force input registration for "VEC footpedal"
authorDaniel Mack <daniel@caiaq.de>
Mon, 12 Jul 2010 17:28:28 +0000 (19:28 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 19 Jul 2010 09:54:16 +0000 (11:54 +0200)
commit70c7c9c4438fc3ca573744c5448df90dbcc5e159
treecc20b6a164e385ead2ff13f29859ac0ffbe80340
parent3a343ee4509c982552b35fbc99d3213f3bb1acde
HID: Force input registration for "VEC footpedal"

These devices report a usage page of type "consumer" and a usage of
"Programmable buttons". They are hence ignored by the hid-input layer.

Force the registration of an input device by using the new quirk type
HID_QUIRK_HIDINPUT_FORCE.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Cc: Jiri Kosina <jkosina@suse.cz>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-ids.h
drivers/hid/usbhid/hid-quirks.c