wrotenote-lx$ cat logitec_usb_trackball.sh
#!/bin/sh
# 1 2 3 4 5 6 7 8 9
#xinput set-button-map "Logitech USB Trackball" 8 9 2 4 5 6 7 1 3
xinput set-button-map "Logitech USB Trackball" 1 9 2 4 5 6 7 1 3
# LF rt lf RT
# LF = big left button
# RT = big right button
# lf = small left button
# rt = small right button
# liga emulacao do whell por movimento do mouse
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation" 8 1
# diz q par de botoes o movimento no eixo X "clica"
#xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation X Axis" 8 6
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Axes" 4 5 6 7
# apertar o botao 1 ativa emulacao acima
xinput set-int-prop "Logitech USB Trackball" "Evdev Wheel Emulation Button" 8 1
the buttons now do:
- Big left button:
- click for Button 1 (left click)
- Hold for scroll on the trackball moviment (all four directions)
- click for Button 1 (left click)
- small left button: always button 1 (so i can drag things and select text)
- small right button: Button 3 (right click) my least used button
- Big Right button: middle click. I used that button a lot, to paste and thown windows to the bottom of my desktop zindex.
No comments:
Post a Comment