Hi,

i had the problem to change the button assignments of my second mouse 
without fiddling the button assignments of the first.

For those with similar problems, here is the (allthough simple) solution 
which IMHO should be included in the xmodmap man page:

- Look for the pointing devices with xsetpointer -l

$ xsetpointer -l

"Mouse[1]"      [XPointer]
"Mouse[3]"      [XExtensionDevice]
"keyboard"      [XKeyboard]

- Pick the one you wish to change, in my example "Mouse[3]" and chage 
the pointers for this device. Then switch back to normal operation 
(using two mice at once):

$ xsetpointer "Mouse[3]" ; xmodmap -e 'pointer = 2 1 3 4 5' ; \
   xsetpointer "Mouse[1]"
(write on one line)

Done...

Frank


-- 
Unsichtbar wird die Dummheit, wenn sie gen�gend gro�e Ausma�e angenommen 
hat.

Berthold Brecht

_______________________________________________
Newbie mailing list
[EMAIL PROTECTED]
*** To unsubscribe , or change message options, see:
http://XFree86.Org/mailman/listinfo/newbie

Reply via email to