Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: clarify we want BTN_TOOL_<name> on proximity

This explicitly states behavior we already use for some touchpads and
tablet devices.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Peter Hutterer and committed by
Dmitry Torokhov
7eb5ca09 d63b0f0c

+4
+4
Documentation/input/event-codes.txt
··· 173 173 proximity of the device and while the value of the BTN_TOUCH code is 0. If 174 174 the input device may be used freely in three dimensions, consider ABS_Z 175 175 instead. 176 + - BTN_TOOL_<name> should be set to 1 when the tool comes into detectable 177 + proximity and set to 0 when the tool leaves detectable proximity. 178 + BTN_TOOL_<name> signals the type of tool that is currently detected by the 179 + hardware and is otherwise independent of ABS_DISTANCE and/or BTN_TOUCH. 176 180 177 181 * ABS_MT_<name>: 178 182 - Used to describe multitouch input events. Please see