Natural scroll Get list of devices xinput list Get button map xinput get-button-map // Sample output $ xinput get-button-map 21 1 2 3 4 5 6 7 Set button map, recverse order of 4 and 5 xinput set-button-map 21 1 2 3 5 4 6 7