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:
Matthias Hopf 2005-11-09 17:05:41 +00:00
commit f886e632b8
4 changed files with 18 additions and 13 deletions

View file

@ -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();