Publicado em:
Eu compro um teclado Logitech Keyboard Touchpad K400r ( link ). Trabalhando, mas sempre uso um comando no terminal com meu touchpad laptop Dell Inspiron 1750:
synclient LockedDrags=1
mas não está funcionando na logitech.
Agora eu faço isso:
wachin@wachin-id:~$ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech Unifying Device. Wireless PID:4024 id=10 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=12 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Video Bus id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated_Webcam_1.3M id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=11 [slave keyboard (3)]
↳ Dell WMI hotkeys id=13 [slave keyboard (3)]
Eu vejo que a Logitech é pressionada, agora, neste momento, estou escrevendo com eles. Em seguida, coloco o terminal:
wachin@wachin-id:~$ xinput list-props "Logitech Unifying Device. Wireless PID:4024"
Device 'Logitech Unifying Device. Wireless PID:4024':
Device Enabled (133): 1
Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (265): 0
Device Accel Constant Deceleration (266): 1.000000
Device Accel Adaptive Deceleration (267): 1.000000
Device Accel Velocity Scaling (268): 10.000000
Device Product ID (252): 1133, 50475
Device Node (253): "/dev/input/event4"
Evdev Axis Inversion (269): 0, 0
Evdev Axes Swap (271): 0
Axis Labels (272): "Rel X" (143), "Rel Y" (144), "Rel Horiz Wheel" (262), "Rel Dial" (263), "Rel Vert Wheel" (264)
Button Labels (273): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (257), "Button Extra" (258), "Button Forward" (259), "Button Back" (260), "Button Task" (261), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255)
Evdev Middle Button Emulation (274): 0
Evdev Middle Button Timeout (275): 50
Evdev Third Button Emulation (276): 0
Evdev Third Button Emulation Timeout (277): 1000
Evdev Third Button Emulation Button (278): 3
Evdev Third Button Emulation Threshold (279): 20
Evdev Wheel Emulation (280): 0
Evdev Wheel Emulation Axes (281): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (282): 10
Evdev Wheel Emulation Timeout (283): 200
Evdev Wheel Emulation Button (284): 4
Evdev Drag Lock Buttons (285): 0
Eu não sei o tipo de entrada para este dispositivo. Agora eu coloco no terminal:
xinput list-props "Logitech Unifying Device. Wireless PID:4024" "Synaptics Locked Drags" 1
e disse isso:
wachin@wachin-id:~$ xinput list-props "Logitech Unifying Device. Wireless PID:4024" "Synaptics Locked Drags" 1
Device 'Logitech Unifying Device. Wireless PID:4024':
Device Enabled (133): 1
Coordinate Transformation Matrix (135): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
Device Accel Profile (265): 0
Device Accel Constant Deceleration (266): 1.000000
Device Accel Adaptive Deceleration (267): 1.000000
Device Accel Velocity Scaling (268): 10.000000
Device Product ID (252): 1133, 50475
Device Node (253): "/dev/input/event4"
Evdev Axis Inversion (269): 0, 0
Evdev Axes Swap (271): 0
Axis Labels (272): "Rel X" (143), "Rel Y" (144), "Rel Horiz Wheel" (262), "Rel Dial" (263), "Rel Vert Wheel" (264)
Button Labels (273): "Button Left" (136), "Button Middle" (137), "Button Right" (138), "Button Wheel Up" (139), "Button Wheel Down" (140), "Button Horiz Wheel Left" (141), "Button Horiz Wheel Right" (142), "Button Side" (257), "Button Extra" (258), "Button Forward" (259), "Button Back" (260), "Button Task" (261), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255), "Button Unknown" (255)
Evdev Middle Button Emulation (274): 0
Evdev Middle Button Timeout (275): 50
Evdev Third Button Emulation (276): 0
Evdev Third Button Emulation Timeout (277): 1000
Evdev Third Button Emulation Button (278): 3
Evdev Third Button Emulation Threshold (279): 20
Evdev Wheel Emulation (280): 0
Evdev Wheel Emulation Axes (281): 0, 0, 4, 5
Evdev Wheel Emulation Inertia (282): 10
Evdev Wheel Emulation Timeout (283): 200
Evdev Wheel Emulation Button (284): 4
Evdev Drag Lock Buttons (285): 0
unable to find device Synaptics Locked Drags
unable to find device 1