| commit | fa3315180b4899389a9cfd272fef9d45f17e17fa | [log] [tgz] |
|---|---|---|
| author | Daniel Kurtz <[email protected]> | Fri May 11 11:28:29 2012 |
| committer | Daniel Kurtz <[email protected]> | Fri May 11 11:28:29 2012 |
| tree | 1a44547150e0f97fec46625dc63c413bdf2df241 | |
| parent | fea8bc0cef3d7cad5336671efabfd58c6e188e46 [diff] |
fix how kernel BTN_* maps to GESTURE_BUTTON_*
Recently a regression occurred where the kernel representation of physical
buttons was being incorrectly mapped to GESTURE_BUTTON_* values.
BUG=chromium-os:30812
TEST=capture touchpad log of a physical button press
inspect resulting log in tpview
notice "buttonsDown": 1 (GESTURES_BUTTON_LEFT) for all clicks in
all hardwareState structs.
Change-Id: I3014d6dd9f5bc3ba142bb704ea81f91bde792fc3