questions on the use of moused for Xorg

Martin Alejandro Paredes Sanchez mapsware at prodigy.net.mx
Tue Aug 7 07:38:44 UTC 2012


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


More information about the freebsd-questions mailing list