Ik heb 2 dezelfde muizen, Logitech Marble Mouse, één voor linker - en één voor rechter hand.
Elk apart kan ik ze doen scrollen als ik de andere uittrek, maar niet samen want ze hebben dezelfde naam.
Hoe kan ik "Logitech USB Trackbal" veranderen in id 8 of 9. (vb. MatchProduct "8" of MatchProduct 8 lukt niet)
Hoe kan ik beide stukjes code samenvoegen.
Linker muis:
xinput list = Logitech USB Trackball id=9
gksudo gedit /usr/share/X11/xorg.conf.d/50-marblemouse.conf =
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "9"
EndSection
Rechter muis:
xinput list = Logitech USB Trackball id=8
gksudo gedit /usr/share/X11/xorg.conf.d/50-marblemouse.conf =
Section "InputClass"
Identifier "Marble Mouse"
MatchProduct "Logitech USB Trackball"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "8"
EndSection
Zie
https://help.ubuntu.com/community/Logitech_Marblemouse_USB#Ubuntu_10.04_and_newer