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)
commitcb2c9e3f92480a292670e2cc261723ce4de8059e
tree4d10b5d17b78f124b9eeba66c3fcd1e4cc8722c9
parentdfc450b55d6b9215da27c5dc2c5f3ca1865575a6
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]