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

4 Mouse buttons with gpm?



Hi,

I've got a Logitech 4 button "MouseMan" (according to the label) mouse, and I can't get gpm to repeat the fourth button; it keeps being repeated as button 2.

This X configuration works (sacrificing gpm, of course):

[/etc/X11/XF86Config-4]
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"              "MouseManPlusPS/2"
        Option          "Device"                "/dev/psaux"
        Option          "Buttons"       "4"
EndSection

The configuration that doesn't work properly is:
[/etc/gpm.conf]
device=/dev/psaux
responsiveness=
type=imps2
append="-l \"a-zA-Z0-9_.:~/\300-\326\330-\366\370-\377\" -b 9600 -S :/etc/gpm-special/middle:/etc/gpm-special/right"
repeat_type=ms3

[/etc/X11/XF86Config-4]
Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Protocol"              "Intellimouse"
        Option          "Device"                "/dev/gpmdata"
        Option          "Buttons"       "4"
EndSection

Does anyone know if this is possible?  There seems to be no "-4" option to gpm (or "-5" or ...), but it says in places it does allow wheel repeating, which IIRC are just 'buttons' as well.  I've tried the "mman" gpm mouse type, but it doesn't work at all.

Any ideas?
--
Sam Vilain, sam@vilain.net        WWW: http://sam.vilain.net/
GPG public key: http://sam.vilain.net/sam.asc



Reply to: