mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Compare commits
2 Commits
xf86-input
...
xf86-input
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd24c2cc18 | ||
|
|
c8a0f1cf36 |
@@ -22,7 +22,7 @@
|
||||
|
||||
AC_PREREQ(2.57)
|
||||
AC_INIT([xf86-input-evdev],
|
||||
2.2.4,
|
||||
2.2.5,
|
||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||
xf86-input-evdev)
|
||||
|
||||
|
||||
@@ -1544,8 +1544,7 @@ EvdevProbe(InputInfoPtr pInfo)
|
||||
int mapping = 0;
|
||||
if (TestBit(i, pEvdev->key_bitmask))
|
||||
{
|
||||
mapping =
|
||||
pEvdev->btnmap[EvdevUtilButtonEventToButtonNumber(pEvdev, i)];
|
||||
mapping = EvdevUtilButtonEventToButtonNumber(pEvdev, i);
|
||||
if (mapping > num_buttons)
|
||||
num_buttons = mapping;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user