diff options
author | Yan Li <yan.i.li@intel.com> | 2010-12-01 08:51:03 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2010-12-01 08:59:41 +0100 |
commit | 3bfa321e662edf90fb8123a02c987c2965fa50bb (patch) | |
tree | 711e0ac6a037a1e32bb38b6719b80fd95ba2870d /virt | |
parent | Input: wacom - add IDs for two new Bamboo PTs (diff) | |
download | linux-3bfa321e662edf90fb8123a02c987c2965fa50bb.tar.xz linux-3bfa321e662edf90fb8123a02c987c2965fa50bb.zip |
Input: synaptics - fix handling of 2-button ClickPads
Lenovo S10-3t's ClickPad is a 2-button ClickPad that reports BTN_LEFT
and BTN_RIGHT as normal touchpad, unlike the 1-button ClickPad used in
HP mini 210 that reports solely BTN_MIDDLE.
In 0xc0-cap response, the 1-button ClickPad has the 20-bit set while
2-button ClickPad has the 8-bit set.
This patch makes the kernel only handle 1-button ClickPad specially,
and treat 2-button ClickPad in the same fashion as regular touchpads.
This fixes kernel bug #18122 and MeeGo bug #4807.
Signed-off-by: Yan Li <yan.i.li@intel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions