User Tools

Site Tools


ubuntu:mouse:mapping_mouse_buttons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ubuntu:mouse:mapping_mouse_buttons [2021/10/25 08:27] peterubuntu:mouse:mapping_mouse_buttons [2021/10/25 08:55] (current) – removed peter
Line 1: Line 1:
-====== Ubuntu - Mouse - Mapping Mouse Buttons ====== 
  
-===== Determine the Mouse to use ===== 
- 
-<code bash> 
-xinput | grep -m 1 "DeathAdder" | sed 's/^.*id=\([0-9]*\)[ \t].*$/\1/' 
-</code> 
- 
-returns: <code bash> 
-8 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  See [[Ubuntu:Mouse:Determine the Mouse|Determine the Mouse]]. 
- 
-  * This shows that the id of the mouse is 8 in this case. 
-</WRAP> 
- 
----- 
- 
-===== Get Button Map ===== 
- 
-<code bash> 
-xinput get-button-map 8 
-</code> 
- 
-returns: 
- 
-<code bash> 
-1 2 3 4 5 6 7 8 9 
-</code> 
- 
-<WRAP info> 
-**NOTE:**  The id of 8 is used, as determined by the previous command. 
- 
-  * The result shows that the mouse has 9 buttons. 
-</WRAP> 
- 
----- 
- 
-===== Determine Which Mouse Button is Which ===== 
- 
-<code bash> 
-xev 
-</code> 
- 
-{{:ubuntu:mouse:xev.png?400|}} 
ubuntu/mouse/mapping_mouse_buttons.1635150461.txt.gz · Last modified: 2021/10/25 08:27 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki