]> git.baikalelectronics.ru Git - kernel.git/commit
HID: Add new driver for non-compliant Xin-Mo devices.
authorOlivier Scherler <oscherler@ithink.ch>
Sat, 27 Jul 2013 17:20:02 +0000 (19:20 +0200)
committerJiri Kosina <jkosina@suse.cz>
Mon, 29 Jul 2013 09:49:29 +0000 (11:49 +0200)
commit9f846262c828af7c5bc540cf0dbffebe1eab92d1
tree4d10b5d17b78f124b9eeba66c3fcd1e4cc8722c9
parentbd932b0532bff81cbaadd5590dadb34220d8403f
HID: Add new driver for non-compliant Xin-Mo devices.

The driver currently only supports the Dual Arcade controller.
It fixes the negative axis event values (the devices sends -2) to match the
logical axis minimum of the HID report descriptor (the report announces -1).
It is needed because hid-input discards out of bounds values.

Signed-off-by: Olivier Scherler <oscherler@ithink.ch>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-ids.h
drivers/hid/hid-xinmo.c [new file with mode: 0644]