Input: elan_i2c - report hovering contacts
authorDuson Lin <dusonlin@emc.com.tw>
Mon, 20 Apr 2015 16:59:04 +0000 (09:59 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 20 Apr 2015 17:28:30 +0000 (10:28 -0700)
commit090ad325068810a9edb09dfe8fec97a724c5743f
treeb3866e846a36e95f5b7150b024e840ff43600c39
parent8c0776a8f046d5fb1804e525c3b6e9f897fe0d3f
Input: elan_i2c - report hovering contacts

When hover is detected report ABS_MT_DISTANCE as 1; for active contacts
the distance is reported as 0.

Signed-off-by: Duson Lin <dusonlin@emc.com.tw>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c_core.c