Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 00:33:33 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: questions on the use of moused for Xorg
Message-ID:  <201208070033.33872.mapsware@prodigy.net.mx>
In-Reply-To: <201208051946.30195.mapsware@prodigy.net.mx>
References:  <201208051946.30195.mapsware@prodigy.net.mx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 05 August 2012 19:46:30 Martin Alejandro Paredes Sanchez wrote:
>
> When I run this command
>
> /usr/sbin/moused -f -d -z 4 5 6 7 -p /dev/ums0 -t auto -I
> /var/run/moused.ums0.pid
>
> moused reports movements in XY (dx dy) but not ZW (dz), for Z now reports
> buttons 4 and 5 pressed, in Xorg the scroll (vertical) does not work (xev
> reports events for button 8 and 9), and no horizontal (xev doesn't report
> anything)
>

according to http://www.x.org/releases/X11R7.5/doc/man/man4/mousedrv.4.html

Option "ButtonMapping" "N1 N2 [...]"
Specifies how physical mouse buttons are mapped to logical buttons.
Default: "1 2 3 8 9 10 ...".

That is the reason that in Xorg the scroll (vertical) does not work, xev 
reports events for button 8 and 9 because moused reports button 4 and 5, but 
xorg remapped to 8 an 9



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208070033.33872.mapsware>