Eu tenho o Razer DeathAdder (edição com a mão esquerda) e o mouse sem fio A4Tech. Meu problema é que não sei como alterar o mapeamento de teclas do mouse sem fio (alternando o clique esquerdo / direito). Alguém pode me orientar como fazer isso?
Lista dos meus dispositivos:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Unifying Device. Wireless PID:4004 id=8 [slave pointer (2)]
⎜ ↳ Razer Razer DeathAdder id=11 [slave pointer (2)]
⎜ ↳ A4TECH USB Device id=12 [slave pointer (2)]
⎜ ↳ A4TECH USB Device id=13 [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)]
↳ Logitech USB Keyboard id=9 [slave keyboard (3)]
↳ Logitech USB Keyboard id=10 [slave keyboard (3)]
Este é o meu Razer xinput:
Device 'Razer Razer DeathAdder':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 5.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
Device Product ID (240): 5426, 22
Device Node (241): "/dev/input/event4"
Evdev Axis Inversion (250): 0, 0
Evdev Axes Swap (252): 0
Axis Labels (253): "Rel X" (131), "Rel Y" (132), "Rel Vert Wheel" (274)
Button Labels (254): "Button Left" (124), "Button Middle" (125), "Button Right" (126), "Button Wheel Up" (127), "Button Wheel Down" (128), "Button Horiz Wheel Left" (129), "Button Horiz Wheel Right" (130), "Button Side" (269), "Button Extra" (270), "Button Forward" (271), "Button Back" (272), "Button Task" (273), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243)
Evdev Middle Button Emulation (255): 0
Evdev Middle Button Timeout (256): 50
Evdev Third Button Emulation (257): 0
Evdev Third Button Emulation Timeout (258): 1000
Evdev Third Button Emulation Button (259): 3
Evdev Third Button Emulation Threshold (260): 20
Evdev Wheel Emulation (261): 0
Evdev Wheel Emulation Axes (262): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (263): 10
Evdev Wheel Emulation Timeout (264): 200
Evdev Wheel Emulation Button (265): 4
Evdev Drag Lock Buttons (266): 0
E esta é a minha xinput de mouse sem fio:
Device 'A4TECH USB Device':
Device Enabled (121): 1
Coordinate Transformation Matrix (123): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (246): 0
Device Accel Constant Deceleration (247): 1.000000
Device Accel Adaptive Deceleration (248): 1.000000
Device Accel Velocity Scaling (249): 10.000000
Device Product ID (240): 2522, 1359
Device Node (241): "/dev/input/event16"
Evdev Axis Inversion (250): 0, 0
Evdev Axes Swap (252): 0
Axis Labels (253): "Rel X" (131), "Rel Y" (132), "Rel Horiz Wheel" (245), "Rel Vert Wheel" (274)
Button Labels (254): "Button Left" (124), "Button Middle" (125), "Button Right" (126), "Button Wheel Up" (127), "Button Wheel Down" (128), "Button Horiz Wheel Left" (129), "Button Horiz Wheel Right" (130), "Button Side" (269), "Button Extra" (270), "Button Forward" (271), "Button Back" (272), "Button Task" (273), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243), "Button Unknown" (243)
Evdev Middle Button Emulation (255): 0
Evdev Middle Button Timeout (256): 50
Evdev Third Button Emulation (257): 0
Evdev Third Button Emulation Timeout (258): 1000
Evdev Third Button Emulation Button (259): 3
Evdev Third Button Emulation Threshold (260): 20
Evdev Wheel Emulation (261): 0
Evdev Wheel Emulation Axes (262): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (263): 10
Evdev Wheel Emulation Timeout (264): 200
Evdev Wheel Emulation Button (265): 4
Evdev Drag Lock Buttons (266): 0