Applying Xmodmap only for one mouse

Thomas Ilnseher illth at gmx.de
Mon Oct 1 02:35:06 PDT 2012


Hi List,

Sorry for this noob question, but:

I have a notebook with three mice, (touchpad, trackpoint & USB mouse)

I use the following xmodmap with the USB mouse:

pointer = 1 10 3 4 5 6 7 8 9 2 11 12 13 14 15 16 17 18 19 20 21 22 23 24

(To swap buttons 2 & 10).

Now this unfortunately makes the middle mouse button of the touchpad /
trackpoint useless, which only have 3 buttons.

Is there some way to apply the xmodmap only to the USB mouse ?
Or, can I assign both Phyical buttons 2 & 10 to logical button 2?

Thanks,

Thomas




More information about the xorg mailing list