ubuntu:mouse:mapping_mouse_buttons
This is an old revision of the document!
Ubuntu - Mouse - Mapping Mouse Buttons
Determine the Mouse to use
xinput --list --short
returns:
⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)] ⎜ ↳ Corsair CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard Consumer Control id=11 [slave pointer (2)] ⎜ ↳ Corsair CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard Mouse id=12 [slave pointer (2)] ⎜ ↳ Razer Razer DeathAdder V2 id=8 [slave pointer (2)] ⎜ ↳ Razer Razer DeathAdder V2 Consumer Control id=9 [slave pointer (2)] ⎣ Virtual core keyboard id=3 [master keyboard (2)] ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)] ↳ Power Button id=6 [slave keyboard (3)] ↳ Power Button id=7 [slave keyboard (3)] ↳ Corsair CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard id=10 [slave keyboard (3)] ↳ Corsair CORSAIR K70 RGB MK.2 Mechanical Gaming Keyboard Consumer Control id=13 [slave keyboard (3)] ↳ Razer Razer DeathAdder V2 Consumer Control id=14 [slave keyboard (3)] ↳ Razer Razer DeathAdder V2 Keyboard id=15 [slave keyboard (3)] ↳ Razer Razer DeathAdder V2 System Control id=16 [slave keyboard (3)] ↳ Razer Razer DeathAdder V2 id=17 [slave keyboard (3)]
NOTE: In this case, the “Razer Razer DeathAdder V2” is the mouse.
- As there are multiple entries, the name “Razer Razer DeathAdder V2” cannot be used as it is not unique.
- Instead, use the id.
ubuntu/mouse/mapping_mouse_buttons.1635148843.txt.gz · Last modified: 2021/10/25 08:00 by peter