aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/wacom_sys.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2016-10-19 18:03:39 -0700
committerJiri Kosina <jkosina@suse.cz>2016-10-20 09:53:55 +0200
commit49005b9fd05249d537363ff86cb41f07f48c847a (patch)
tree8d84d0d5a613fd1b54c1f97e7697878d30a9d517 /drivers/hid/wacom_sys.c
parentHID: wacom: Have WACOM_PEN_FIELD and WACOM_FINGER_FIELD recgonize more fields (diff)
downloadlinux-dev-49005b9fd05249d537363ff86cb41f07f48c847a.tar.xz
linux-dev-49005b9fd05249d537363ff86cb41f07f48c847a.zip
HID: wacom: Refactor button-to-key translation into function
This just centralizes the logic used in both wacom_setup_numbered_buttons and wacom_report_numbered_buttons so that they don't drift out of sync. Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/wacom_sys.c')
0 files changed, 0 insertions, 0 deletions