-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Matthias, thanks for your reply! Matthias Hopf wrote:
Didn't think of that you might have forgot that, but you have to make all input devices known to the Xserver in the ServerLayout section:
InputDevice "Mouse[1]" "CorePointer" InputDevice "Mouse[2]" "SendCoreEvents" InputDevice "Mouse[3]" "SendCoreEvents" ...
Yes, I did include both Input Devices in there. However, I may have missed the "SendCoreEvents" Option. I tried various combinations (just listing both devices without "CorePointer", swapping the "CorePointer" option) but somehow only the Trackball or the internal PS/2 Trackpoint worked. I may have to try the "SendCoreEvents" option, I was not aware it is required.
Option "EmulateWheel" "true" Option "EmulateWheelButton" "8" # Option "ButtonMapping" "1 8 3 4 5 6 7 2 9" Option "YAxisMapping" "4 5" Option "EmulateWheelInertia" "8" EndSection
I tried to swap Buttons 2 and 8, but that somehow did not work. Strange.
It should. Note that you're swapping *physical* mice buttons 2 and 8. I doubt your Mouse has 8 buttons (wheel movement not counting).
The fourth mouse button on the Trackball was reported as "button 8" by xev, when I used it via the serial port. And it somehow made sense to me, if you want to emulate two wheels (X and Y), which would occupy the button numbers from 4-7.
Try ButtonMapping 1 4 3 2
Will give it a try, thanks! Once that fourth button is generating any events again, that is...
external Trackball can be used in parallel. However, it now does not detect all four buttons anymore! The fourth button (which xev reported as Button 8 using the serial connection) no longer triggers any action :(
ps/2 protocols only know of 5 buttons. The fourth button should be possible, though, try explorerps/2 as protocol.
I think I tried almost any PS/2 Mouse Protocol and none of them caused xev to report any activity when I pressed the fourth mouse button :( That's the strange part about it. Using it as a serial device showed it as "button 8" in xev, while it's just dead when using it via the PS/2 port. Could this be caused by the internal trackpoint, which only reports three buttons? Anyway, I have now resorted to using Button 2 to emulate the wheel. This works quite well. I guess I can live with the fourth button being unavailable... Bye, LenZ - -- - ------------------------------------------------------------------ Lenz Grimmer <lenz@grimmer.com> -o) [ICQ: 160767607 | Jabber: LenZGr@jabber.org] /\\ http://www.lenzg.org/ V_V -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFE6qWRSVDhKrJykfIRAoxeAJ42gS0tNil8WJqThgWtU9pIUbv6UwCfXZuh ++VTlMDZYv2YLDD4fuMpkXc= =m2V9 -----END PGP SIGNATURE-----