[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#284561: xserver-xfree86: Mouse buttons events get mixed up when trying to remap buttons



On Tue, 2004-12-07 at 17:01 +0900, Mike Hommey wrote:
> 
> When trying to remap the mouse buttons with xmodmap, xinput or the gnome
> mouse panel (left-handed setting), the mouse events get mixed up.

[...]

> Section "InputDevice"
> 	Identifier	"Configured Mouse"
> 	Driver		"mouse"
> 	Option		"CorePointer"
> 	Option		"Device"		"/dev/psaux"
> 	Option		"Protocol"		"ImPS/2"
> 	Option		"Emulate3Buttons"	"true"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection
> Section "InputDevice"
> 	Identifier	"Generic Mouse"
> 	Driver		"mouse"
> 	Option		"SendCoreEvents"	"true"
> 	Option		"Device"		"/dev/input/mice"
> 	Option		"Protocol"		"ImPS/2"
> #	Option		"Emulate3Buttons"	"true"
> 	Option		"ZAxisMapping"		"4 5"
> EndSection

[...]

> OS Kernel: Linux version 2.6.9-1-686 (dilinger@toaster.hq.voxel.net) (gcc version 3.3.5 (Debian 1:3.3.5-2)) #1 Thu Nov 25 03:48:29 EST 2004 

With a 2.6 kernel, /dev/psaux is just an alias of /dev/input/mice. So
you have two input devices for the same thing (didn't you notice the
mouse being twice as fast as it should be? ;), but the button remapping
only applies to the CorePointer.


-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer



Reply to: