diff options
author | Ping Cheng <pinglinux@gmail.com> | 2021-04-06 05:46:34 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-04-13 08:19:41 +0200 |
commit | 46fc466e01a187ef7c1e21448a89b831c3f5b519 (patch) | |
tree | 468a4fbbcab48053808d3a0215ecf092f08082be /drivers/hid/wacom_wac.h | |
parent | Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/hid... (diff) | |
download | linux-46fc466e01a187ef7c1e21448a89b831c3f5b519.tar.xz linux-46fc466e01a187ef7c1e21448a89b831c3f5b519.zip |
HID: wacom: Setup pen input capabilities to the targeted tools
Only set the bits that are supported by the targeted devices.
This patch also removes duplicated set_bit calls.
Signed-off-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/wacom_wac.h')
-rw-r--r-- | drivers/hid/wacom_wac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hid/wacom_wac.h b/drivers/hid/wacom_wac.h index 195910dd2154..71c886245dbf 100644 --- a/drivers/hid/wacom_wac.h +++ b/drivers/hid/wacom_wac.h @@ -300,6 +300,7 @@ struct hid_data { bool tipswitch; bool barrelswitch; bool barrelswitch2; + bool serialhi; int x; int y; int pressure; |