]> git.baikalelectronics.ru Git - kernel.git/commit
Input: elan_i2c - support touchpads with two physical buttons
authorKT Liao <kt.liao@emc.com.tw>
Fri, 18 Aug 2017 23:49:53 +0000 (16:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 19 Aug 2017 00:07:02 +0000 (17:07 -0700)
commitbabd24327806d37b8e445dff5d8645d38b48a6a9
tree753911079edc4d049a805a1c82d64d93359fd727
parentf71f48e85049c007aff491e3e354763f68e8168d
Input: elan_i2c - support touchpads with two physical buttons

Elan touchpads on Asus ROG G752xx series laptops have 2 physical buttons.
Luckily we can query the touchpad to see if it is a clickpad variant and
adjust the behavior accordingly.

Signed-off-by: KT Liao <kt.liao@emc.com.tw>
Tested-by: Maxime Bellengé <maxime.bellenge@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/elan_i2c.h
drivers/input/mouse/elan_i2c_core.c
drivers/input/mouse/elan_i2c_i2c.c
drivers/input/mouse/elan_i2c_smbus.c