android_kernel_motorola_sm6225/drivers/hid
Jiri Kosina 36ccaad640 HID: hid-input quirk for BTC 8193
BTC 8193 keyboard handles its scrollwheel in very non-standard way.
It produces two non-standard usages for scrolling up and down, in
both cases with postive value equaling to 1. We handle this by temporary
mapping, which we then catch in quirk event handler, and remap to
negative HWHEEL even in order to introduce correct behavior.

Also the button requires special mapping, as it triggers standard-violating
usage code.

Reported in kernel.org bugzilla #9385

Reported-by: Kir Kolyshkin <kir@sacred.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2008-01-28 14:51:21 +01:00
..
usbhid HID: hid-input quirk for BTC 8193 2008-01-28 14:51:21 +01:00
hid-core.c HID: add hidraw interface 2007-10-14 14:47:26 +02:00
hid-debug.c Input: add KEY_LOGOFF 2007-10-14 13:40:02 +02:00
hid-input-quirks.c HID: hid-input quirk for BTC 8193 2008-01-28 14:51:21 +01:00
hid-input.c HID: separate hid-input event quirks from generic code 2008-01-28 14:51:20 +01:00
hidraw.c Use helpers to obtain task pid in printks 2007-10-19 11:53:43 -07:00
Kconfig HID: add hidraw interface 2007-10-14 14:47:26 +02:00
Makefile HID: refactor mapping to input subsystem for quirky devices 2008-01-28 14:51:20 +01:00