summaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-topseed.c
diff options
context:
space:
mode:
authorJason Gerecke <killertofu@gmail.com>2017-09-07 17:51:06 -0700
committerJiri Kosina <jkosina@suse.cz>2017-09-13 19:18:01 +0200
commit3e70969e44ee52d72053145dab2cbad74109c685 (patch)
treee105450a21a60f964d0778efd6f0ee1e902f4eee /drivers/hid/hid-topseed.c
parent4affc2331a70fff3d0d0e8f28ead80aa2b8b589a (diff)
downloadop-kernel-dev-3e70969e44ee52d72053145dab2cbad74109c685.zip
op-kernel-dev-3e70969e44ee52d72053145dab2cbad74109c685.tar.gz
HID: wacom: generic: Send BTN_TOOL_PEN in prox once the pen enters range
When a pen is first able to to be sensed by the tablet, we would like to inform userspace that a tool is nearby so that it can attempt to perform palm rejection. Unfortunately, we don't know any information about the tool that is nearby, so the best we can do is send a prox event for a generic BTN_TOOL_PEN. If the pen later comes closer and enters proximity, we can determine the actual tool type and send BTN_TOOL_PEN out of prox if necessary. Signed-off-by: Ping Cheng <ping.cheng@wacom.com> Signed-off-by: Jason Gerecke <jason.gerecke@wacom.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-topseed.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud