Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jul 2002 11:33:33 -0600
From:      Jason Porter <leporter@xmission.com>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: XFree86 Wheel Mouse
Message-ID:  <3D2F12ED.7080306@xmission.com>
References:  <3D2E886D.4090009@xmission.com> <20020712105410.GA15792@scott1.homeunix.net> <3D2F08AB.3040702@xmission.com> <20020712170932.GB12632@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help


Dan Nelson wrote:

>In the last episode (Jul 12), Jason Porter said:
>  
>
>>Scott Robbins wrote:
>>    
>>
>>>The syntax is slightly different in XFree 4.x. It should be
>>>
>>>Option "ZAxisMapping" 	"4 5"
>>>(this is how I've always done it with an Optical Intellimouse--never
>>>used Buttons 7 and ZAxisMapping 6 7 however--nor did I ever have to put
>>>in Buttons 5)
>>>      
>>>
>
>  
>
>>Thanks for the help, but it still doesn't work.  Here's the section from 
>>my XF86Config file:
>>
>>Section "InputDevice"
>>   Identifier  "MS IntillMouse Optical"
>>   Driver      "mouse"
>>   Option        "Protocol" "MouseSystems"
>>   Option        "Device" "/dev/sysmouse"
>>   Option        "ZAxisMapping" "4 5"
>>EndSection
>>
>>If anyone has any ideas, they would be greatly appreciated.
>>    
>>
>
>Here's what I've got.  I actually tell moused (instead of X) to do the
>mapping with -z 4.
>
>XF86config:
>
> Section "InputDevice"
>  Identifier "Mouse0"
>  Driver "mouse"
>  Option "Buttons" "5"
>  Option "Protocol" "auto"
>  Option "Device" "/dev/sysmouse"
> EndSection
>
>/etc/rc.conf:
> moused_enable="YES"	# Run the mouse daemon.
> moused_type="auto"	# See man page for rc.conf(5) for available settings.
> moused_port="/dev/psm0" # Set to your mouse port.
> moused_flags="-z 4"	# Any additional flags to moused
>
Great, works like a charm!  My two side buttons don't work, but I can 
live with that :)  Thanks again.

-- 
-Jason Porter

"Real programmers are secure enough to write 
readable code, which they then self-righteously 
refuse to explain."




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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