diff options
author | Chase Douglas <chase.douglas@canonical.com> | 2012-05-24 10:48:38 -0700 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-07-04 08:20:55 +1000 |
commit | 774915924102c348ce7045ffa07905d1079f447c (patch) | |
tree | 4aebb195bfb2399ea7beec3a7bf1d41f8accb02f /src/emuMB.c | |
parent | Devices configured as mice need REL_X/Y (diff) | |
download | xf86-input-evdev-774915924102c348ce7045ffa07905d1079f447c.tar.gz xf86-input-evdev-774915924102c348ce7045ffa07905d1079f447c.tar.bz2 xf86-input-evdev-774915924102c348ce7045ffa07905d1079f447c.zip |
Report the correct number of touches for MT protocol B devices
Protocol B devices report the number of touches by giving a maximum and
minimum slot value. The current code ignores the minimum value, which is
usually 0, and underreports the number of touches by 1.
Signed-off-by: Chase Douglas <chase.douglas@canonical.com>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
(cherry picked from commit 9ce068e760e1282183c7aa1b4cc6b0fcb6b494dd)
Diffstat (limited to 'src/emuMB.c')
0 files changed, 0 insertions, 0 deletions