Applying Xmodmap only for one mouse
Alan Coopersmith
alan.coopersmith at oracle.com
Mon Oct 1 05:45:23 PDT 2012
On 10/ 1/12 02:35 AM, Thomas Ilnseher wrote:
> 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 ?
I believe "xinput --set-button-map" with the device specified will do what
you want.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Engineering - http://blogs.oracle.com/alanc
More information about the xorg
mailing list