Ask Your Question

Revision history [back]

Do you use trackballs or your mouse doesn't have wheels ? Do you want to map wheel like features with any other mouse button ?

For any wheel related emulation you can use "Evdev Wheel Emulation" property and set its value for your respective mouse via xinput. Playing with few parameters from the command -

# xinput --list-props "Device Name"

Evdev Wheel Emulation (281):    0
Evdev Wheel Emulation Axes (282):   0, 0, 4, 5
Evdev Wheel Emulation Inertia (283):    10
Evdev Wheel Emulation Timeout (284):    200
Evdev Wheel Emulation Button (285): 4

Normally the wheel button events are 4 and 5. Check more details with -

$ man evdev