diff options
author | KT Liao <kt.liao@emc.com.tw> | 2016-05-19 17:38:07 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-06-01 14:21:10 -0700 |
commit | 0fd80a77e4d2f34e9fe66a73edf81d4a30bd4ca4 (patch) | |
tree | c3b43a4910e78e27b1b9839d8cd2717fe756d806 /scripts/mod | |
parent | Input: raydium_i2c_ts - do not ignore EPROBE_DEFER from gpiod_get_optional (diff) | |
download | linux-dev-0fd80a77e4d2f34e9fe66a73edf81d4a30bd4ca4.tar.xz linux-dev-0fd80a77e4d2f34e9fe66a73edf81d4a30bd4ca4.zip |
Input: update input_mt_report_pointer_emulation to support hovering
For devices that are incapable of reporting per-contact distance and can
only report ABS_DISTANCE, just distance is not enough for upper layers of
OS to determine whether contact is leaving the area or if it is continuing
hovering, we need BTN_TOOL_FINGER for that:
Contact State
Inactive Hovering Active
(far away) (inside hover area) (touching surface)
BTN_TOUCH 0 0 1
BTN_TOOL_FINGER 0 1 1
ABS_DISTANCE N/A 1 0
Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'scripts/mod')
0 files changed, 0 insertions, 0 deletions