mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-04-14 11:44:16 +00:00
Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914> Stupid
little bug, properly handle wheels on 3 button mice.
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
2006-02-14 Zephaniah E. Hull,,, <set EMAIL_ADDRESS environment variable>
|
||||
2006-02-16 Zephaniah E. Hull <warp@aehallh.com>
|
||||
|
||||
* src/evdev_btn.c: (EvdevBtnCalcRemap):
|
||||
Bugzilla #5914 <https://bugs.freedesktop.org/show_bug.cgi?id=5914>
|
||||
Stupid little bug, properly handle wheels on 3 button mice.
|
||||
|
||||
2006-02-14 Zephaniah E. Hull <warp@aehallh.com>
|
||||
|
||||
* configure.ac:
|
||||
* man/evdev.man:
|
||||
|
||||
@@ -167,7 +167,7 @@ EvdevBtnCalcRemap (InputInfoPtr pInfo)
|
||||
pEvdev->state.buttonMap[2] = base;
|
||||
}
|
||||
|
||||
for (j = 0; j < REL_MAX; j++) {
|
||||
for (i = 0; i < REL_MAX; i++) {
|
||||
if (pEvdev->state.relToBtnMap[i][0] > pEvdev->state.buttons)
|
||||
pEvdev->state.buttons = pEvdev->state.relToBtnMap[i][0];
|
||||
if (pEvdev->state.relToBtnMap[i][1] > pEvdev->state.buttons)
|
||||
|
||||
Reference in New Issue
Block a user