aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-accutouch.c
diff options
context:
space:
mode:
authorAaron Armstrong Skomra <skomra@gmail.com>2019-08-16 12:02:50 -0700
committerJiri Kosina <jkosina@suse.cz>2019-08-20 16:59:05 +0200
commit670e90924bfe9cf80536eab66a31704e07b5fd00 (patch)
tree392d2ac2d52460ded23371dbdde92866bf300bc4 /drivers/hid/hid-accutouch.c
parentHID: wacom: Fix several minor compiler warnings (diff)
downloadlinux-dev-670e90924bfe9cf80536eab66a31704e07b5fd00.tar.xz
linux-dev-670e90924bfe9cf80536eab66a31704e07b5fd00.zip
HID: wacom: support named keys on older devices
Some Wacom devices have keys with predefined meanings. However, when support was originally added for these devices, the codes for these keys were not available yet. These keys were thus reported with the numbered KEY_PROG* range. Some missing key codes were added with commit 4eb220cb35a9 ("HID: wacom: generic: add 3 tablet touch keys") and we are now able to report the proper key codes. We continue to report the original KEY_PROG codes so as not to break any unknown applications that may depend on them. Also, to support the touch key, track its state in the pad report. Signed-off-by: Aaron Armstrong Skomra <aaron.skomra@wacom.com> Link: https://gitlab.freedesktop.org/libinput/libinput/merge_requests/155 Link: https://github.com/linuxwacom/xf86-input-wacom/pull/46 Reviewed-by: Ping Cheng <ping.cheng@wacom.com> Reviewed-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-accutouch.c')
0 files changed, 0 insertions, 0 deletions