ubuntu:mouse:mapping_mouse_buttons
This is an old revision of the document!
Table of Contents
Ubuntu - Mouse - Mapping Mouse Buttons
Determine the Mouse to use
xinput | grep -m 1 "DeathAdder" | sed 's/^.*id=\([0-9]*\)[ \t].*$/\1/'
returns:
8
NOTE: See Determine the Mouse.
- This shows that the id of the mouse is 8 in this case.
Get Button Map
xinput get-button-map 8
returns:
1 2 3 4 5 6 7 8 9
NOTE: The id of 8 is used, as determined by the previous command.
- The result shows that the mouse has 9 buttons.
Determine Which Mouse Button is Which
ubuntu/mouse/mapping_mouse_buttons.1635150586.txt.gz ยท Last modified: 2021/10/25 08:29 by peter