HID: add support for Huion 580 tablet
authorMartin Rusko <martin.rusko@gmail.com>
Tue, 28 May 2013 12:25:15 +0000 (14:25 +0200)
committerJiri Kosina <jkosina@suse.cz>
Tue, 28 May 2013 12:29:38 +0000 (14:29 +0200)
commit68e353fe476e7dab4644b9e7b4979b72726397ae
tree0b90c036dfd75be84b8c24cd37d985702cf027e1
parent31b9779cb292e2ea3312b15c5eda96b69edbb4da
HID: add support for Huion 580 tablet

Add hid-huion.c with support for Huion 580 tablet, which is simple
8x5" tablet with 4000LPI resolution and 2048 levels pressure-sensitive
pen manufactured by the Chinese company Huion.

The driver fixes incorrect report descriptor sent by the device,
performs custom initialization required to switch the tablet into
its native resolution mode and inverts the in-range bit.

Signed-off-by: Martin Rusko <martin.rusko@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-core.c
drivers/hid/hid-huion.c [new file with mode: 0644]
drivers/hid/hid-ids.h