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_PREREQ(2.57)
|
||||||
AC_INIT([xf86-input-evdev],
|
AC_INIT([xf86-input-evdev],
|
||||||
2.2.4,
|
2.2.5,
|
||||||
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
[https://bugs.freedesktop.org/enter_bug.cgi?product=xorg],
|
||||||
xf86-input-evdev)
|
xf86-input-evdev)
|
||||||
|
|
||||||
|
|||||||
@@ -1544,8 +1544,7 @@ EvdevProbe(InputInfoPtr pInfo)
|
|||||||
int mapping = 0;
|
int mapping = 0;
|
||||||
if (TestBit(i, pEvdev->key_bitmask))
|
if (TestBit(i, pEvdev->key_bitmask))
|
||||||
{
|
{
|
||||||
mapping =
|
mapping = EvdevUtilButtonEventToButtonNumber(pEvdev, i);
|
||||||
pEvdev->btnmap[EvdevUtilButtonEventToButtonNumber(pEvdev, i)];
|
|
||||||
if (mapping > num_buttons)
|
if (mapping > num_buttons)
|
||||||
num_buttons = mapping;
|
num_buttons = mapping;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user