>  * Make moused map up/down into buttons 4/5:
> 
>      moused -m 4=2 -m 5=4 -p /dev/psm0 -t auto
> 
>  * Make X do the rest.  From XF86Config (for XFree 4.2):
> 
>    Section "InputDevice"
>         Identifier  "Mouse0"
>         Driver      "mouse"
>         Option      "Protocol" "Auto"
>         Option      "Device" "/dev/sysmouse"
>         Option      "Resolution" "100"
>         Option      "Emulate3Buttons"
>         Option      "Buttons" "5"
>    EndSection

This works perfectly.  Thanks!

 
>    This makes X handle emulation of the middle button.  Hmm... looks
>    like there already is a default ZAxisMapping.  If you have
>    problems, try adding
> 
>       Option   "ZAxisMapping" "4 5"

Curiously, if I add this option I kill the up/down buttons altogether:
xev shows no activity when they're pressed.

Thanks Marcin and hope this can make it to the main tree soon!

- Rahul

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to