]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
HID: wacom: Report touch width/height/orientation for GENERIC devices
authorJason Gerecke <killertofu@gmail.com>
Tue, 21 Jul 2015 18:07:25 +0000 (11:07 -0700)
committerJiri Kosina <jkosina@suse.com>
Thu, 23 Jul 2015 12:02:44 +0000 (14:02 +0200)
commit488abb5c70c19fd37264101d2b6ebee507e1f265
tree52d950b20ffadb4c12a486b06eac5dfde1436223
parent1b5d514a3d24996ddbe7c75685af9dfdeff125b5
HID: wacom: Report touch width/height/orientation for GENERIC devices

The HID_DG_WIDTH and HID_DG_HEIGHT usages report with width and height of
contacts. From this information, a crude determination of orientation is
also possible. This patch reports all three to userspace if a device
reports this usage.

Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
drivers/hid/wacom_wac.c