[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: IMPS/2 mouse protocol and XF86Setup



>>>>> "JF" == Jay Ford <jay-ford@uiowa.edu> writes:

    JF> ____________________/etc/X11/XF86Config (excerpt)___________________
    JF> Section "Pointer"
    JF>         Device "/dev/gpmdata"
    JF>         Protocol "imps/2"
    JF>         ZAxisMapping  4 5
    JF>         Buttons 7
    JF> EndSection
    JF> ____________________________________________________________________

    JF> Basically, this tells gpm to handle the mouse as a PS/2 mouse
    JF> via device /dev/psaux, & repeat the raw mouse events to
    JF> /dev/gpmdata.  Meanwhile, X is told that the mouse is a PS/2
    JF> mouse via /dev/gpmdata.  (The "ZAxisMapping 4 5" & "Buttons 7"
    JF> are to enable the mouse wheel.)

Just curious. Why 'Buttons 7'? I've always thought that for IntelliMouse it
should be 'Buttons 5':

2 Buttons for normal mouse buttons
1 Button for mouse wheel pressing
2 Virtual Buttons for mouse wheel rotation

At least it worked for me for years. With IntelliMouse and with
Logitech mouses.

-- 
Ilya Martynov
AGAVA Software Company, http://www.agava.com



Reply to: