]> 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)
commitc77c9c110b782f656047a12e62e1be331ca0d8a7
tree753911079edc4d049a805a1c82d64d93359fd727
parent7ab1bf06caf8960374db7e7d8a595df911da0781
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