]> git.baikalelectronics.ru Git - kernel.git/commit
HID: wacom - add touch_arbitration parameter to wacom module
authorPing Cheng <pinglinux@gmail.com>
Tue, 9 Aug 2016 21:38:56 +0000 (14:38 -0700)
committerJiri Kosina <jkosina@suse.cz>
Wed, 10 Aug 2016 09:46:26 +0000 (11:46 +0200)
commita0eb92ff5a617605ead7988fd212f741ffa1afd9
tree335613add6126745c44112ccf81a13b5c11ec436
parentf13f99df7d61568856ed056c677734b42234de00
HID: wacom - add touch_arbitration parameter to wacom module

Touch arbitration is always on in wacom.ko. However, there are
touch enabled applications use both pen and touch simultaneously.
We should provide an option for userland to decide if they want
arbitration on or off.

This patch sets default touch_arbitration to on since most userland
apps are not ready to process pen and touch events simultaneously.
In the future, when userland is ready to accept pen and touch events
together, we will switch default touch_arbitration to off.

Tested-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Ping Cheng <pingc@wacom.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/wacom_wac.c