mirror of
https://github.com/X11Libre/xf86-input-evdev.git
synced 2026-03-24 09:44:28 +00:00
Map REL_DIAL to REL_HWHEEL.
Some Microsoft mice have this wrong. And it seems like a sensible thing to do anyway.
This commit is contained in:
@@ -228,6 +228,7 @@ EvdevReadInput(InputInfoPtr pInfo)
|
||||
PostButtonClicks(pInfo, wheel_down_button, -value);
|
||||
break;
|
||||
|
||||
case REL_DIAL:
|
||||
case REL_HWHEEL:
|
||||
if (value > 0)
|
||||
PostButtonClicks(pInfo, wheel_right_button, value);
|
||||
|
||||
Reference in New Issue
Block a user