mirror of
https://github.com/X11Libre/xserver.git
synced 2026-11-01 03:03:58 +00:00
Bug #4915: ButtonMapping option which allows to define arbitrary button
mappings (including left-handed mouse etc.). Fixed incorrect usage of
non-reversed, but ZAxisMapped buttons for state detection. Nuked unused
part of reverseMap.
This commit is contained in:
parent
a25871ae52
commit
f886e632b8
4 changed files with 18 additions and 13 deletions
|
|
@ -152,6 +152,7 @@ OsMouseProc (DeviceIntPtr pPointer, int what)
|
|||
|
||||
case DEVICE_ON:
|
||||
pMse->lastButtons = 0;
|
||||
pMse->lastMappedButtons = 0;
|
||||
pMse->emulateState = 0;
|
||||
pPointer->public.on = TRUE;
|
||||
ev_resume();
|
||||
|
|
|
|||
Loading…
Reference in a new issue