On Thu, Jun 14, 2007 at 09:46:10AM -0700, Chris Cappuccio wrote:
> You probably need ZAxisMapping to use the scroll wheel
>
> Here's what I do (wsmouse abstracts usb/ps2/etc types):
>
> Section "InputDevice"
> Identifier "Mouse0"
> Driver "mouse"
> Option "Protocol" "wsmouse"
> Option "Device" "/dev/wsmouse"
> Option "ZAxisMapping" "4 5"
> EndSection
My applogies, I sent the wrong version of XF86Config (I have several as
I tried to get the most out of the display _and_ get the wheel working).
The pointer section that matches the mouse trial is below. Note that
this is the XFree version 3 since version 4 (and xorg) doesn't work
properly with my S3 video.
As I understand it from the man pages, wsmouse abstracts USB/ps2/ and
intellimouse but _not_ ImPS/2. So the question is: can I get wsmouse to
pass the data raw (and not abstract anything) or ignore the mouse
altogehter and get a /dev/ entry to point X at? With all the various
boxes I've used this mouse, I had to tell X to use protocol IMPS/2.
I tried with and without the "Buttons" line but the XFConfig man page
says that the buttons used for ZAxisMapping have to be taken into
consideration. The mouse has 4 real buttons plus the wheel that acts
like a middle button, plus the wheel rolling events (one "button" for
each direction).
Thanks,
Doug.
Here's the pointer section:
# **********************************************************************
# Pointer section
# **********************************************************************
Section "Pointer"
Protocol "wsmouse"
Device "/dev/wsmouse"
#### try to get wheel to work
Buttons 7
ZAxisMapping 4 5
# When using XQUEUE, comment out the above two lines, and uncomment
# the following line.
# Protocol "Xqueue"
# Baudrate and SampleRate are only for some Logitech mice
# or for the AceCad tablets which require 9600 baud
# BaudRate 9600
# SampleRate 150
# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)
Emulate3Buttons
Emulate3Timeout 50
# ChordMiddle is an option for some 3-button Logitech mice
# ChordMiddle
EndSection