KT Liao 0fd80a77e4 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>
2016-06-01 14:21:10 -07:00
..
2015-12-29 15:32:24 -05:00
2016-02-01 12:27:18 -08:00
2016-01-20 17:30:20 -08:00
2016-01-13 10:23:36 -08:00
2016-03-04 18:06:49 -08:00
2016-01-12 12:17:28 +01:00
2016-01-20 18:42:30 -08:00
2016-03-06 11:08:06 -08:00
2016-03-11 16:34:18 -08:00
2016-02-23 17:17:20 -08:00
2016-01-22 18:04:28 -05:00
2016-01-20 17:09:18 -08:00
2016-01-03 16:32:59 -08:00
2016-03-09 13:28:27 -08:00
2016-01-12 01:12:40 +01:00
2016-01-20 17:09:18 -08:00
2016-01-15 12:14:47 -08:00
2016-01-18 12:10:45 -08:00
2016-02-26 12:47:32 +02:00
2016-03-05 12:32:34 -08:00
2016-03-03 12:37:21 -08:00
2016-02-28 07:38:52 -07:00
2016-02-22 13:57:01 -08:00