platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 29 May 2018 19:06:59 +0000 (12:06 -0700)
committerBenson Leung <bleung@chromium.org>
Tue, 29 May 2018 22:11:04 +0000 (15:11 -0700)
commit683b647309fc8b4d9d176d2df994efc03f9f8073
treedd581a841fa99065732255c88d5b463303b1c33f
parent1eb89893ecaae25b4e01a2efc3cfdfa07b1da3ab
platform/chrome: chromeos_laptop: fix touchpad button mapping on Celes

Celes has newer touch controller (compared to the controllers used in
older BayTrail-based devices) and so uses the same button mapping as
Samus.

This fixes the issue with mouse button being stuck in pressed state
after the first click.

Reported-by: Sultan Alsawaf <sultanxda@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/chromeos_laptop.c