Can mouse buttons be mapped higher than physical count?

Matthias Hopf mhopf at suse.de
Mon Apr 16 02:57:57 PDT 2007


On Apr 16, 07 09:44:59 +0930, Peter Hutterer wrote:
> On 12/04/2007, at 20:26 , Lee P. wrote:
> >I currently have three input devices, a PS/2 mouse (Mouse0  
> >Corepointer), a USB mouse (usbmouse) and a touchscreen (touchscreen).
> >[...]
> 
> >If I do an xinput list, I see Mouse0, but if I try something like
> >xinput set-button-map Mouse0 4 5 6 1 2 3,
> >[...]
> 
> >I get an error Unable to find device "Mouse0"
> 
> if mouse0 is your core pointer, you won't be able to do much. The  
> core pointer is not an extension device. Yet.
> xinput can only configure extension devices.

In that case the only thing that could work is the "ButtonMapping"
option in your mouse section. That option allows for higher virtual
button numbers than physical numbers.

Matthias

-- 
Matthias Hopf <mhopf at suse.de>      __        __   __
Maxfeldstr. 5 / 90409 Nuernberg   (_   | |  (_   |__          mat at mshopf.de
Phone +49-911-74053-715           __)  |_|  __)  |__  R & D   www.mshopf.de



More information about the xorg mailing list