You are not logged in.

#1 2008-03-14 22:10:59

cawill
Member
From: United Kingdom
Registered: 2007-12-12
Posts: 63

[SOLVED] Help getting all mouse buttons to work

I have a microsoft usb mouse which is left/right click, scroll wheel and two side buttons,

My Xorg File:

Section "ServerLayout"
    Identifier     "Xorg Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "USB Mouse" "CorePointer"
#    InputDevice    "Evdev Mouse" "CorePointer"
EndSection

Section "ServerFlags"
    Option "AllowMouseOpenFail"  "true"
    
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/100dpi"
    FontPath     "/usr/share/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
    FontPath     "/usr/share/fonts/cyrillic"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#    FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
    FontPath     "/usr/share/fonts/Type1"
    FontPath     "/usr/share/fonts/ttf/western"
    FontPath     "/usr/share/fonts/ttf/decoratives"
    FontPath     "/usr/share/fonts/truetype"
    FontPath     "/usr/share/fonts/truetype/openoffice"
    FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/latex-ttf-fonts"
    FontPath     "/usr/share/fonts/defoma/CID"
    FontPath     "/usr/share/fonts/defoma/TrueType"
EndSection

Section "Module"
        Load  "ddc"  # ddc probing of monitor
    Load  "dbe"
    Load  "dri"
    Load  "extmod"
    Load  "glx"
        Load  "bitmap" # bitmap-fonts
    Load  "type1"
    Load  "freetype"
    Load  "record"
    #   Load  "synaptics"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "gb"
#    Option "XkbVariant" ""
EndSection

Section "InputDevice"
        Identifier      "USB Mouse"
        Driver          "mouse"
        Option          "Device"                "/dev/input/mice"
    Option        "SendCoreEvents"    "true"
        Option          "Protocol"              "IMPS/2"
        Option          "ZAxisMapping"          "4 5"
        Option          "Buttons"               "5"
EndSection

#Section "InputDevice"
#    Identifier      "Evdev Mouse"
#    Driver          "evdev"
#    Option          "Name" "Microsoft Microsoft 5-Button Mouse with IntelliEye(TM)"
#    Option          "CorePointer"
#    Option        "Device" "/dev/input/event[2]"
#EndSection


# Auto-generated by Archie mkxcfg

Section "Monitor"
    Identifier "Monitor0"
        Option "DPMS" "true"
#    HorizSync    28.0 - 78.0 # Warning: This may fry very old Monitors
    HorizSync    28.0 - 96.0 # Warning: This may fry old Monitors
    VertRefresh  50.0 - 75.0 # Very conservative. May flicker.
#    VertRefresh  50.0 - 62.0 # Extreme conservative. Will flicker. TFT default.
EndSection

# Auto-generated by Archie mkxcfg


Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "All"
    BoardName   "All"
    Option "NoLogo"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultColorDepth 24
    Option    "AddARGBGLXVisuals" "True"
    SubSection "Display"
        Depth     1
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     4
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     8
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     15
        Modes "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     16
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     24
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Depth     32
        Modes "1680x1050" "1024x768" "800x600" "640x480"
    EndSubSection
EndSection

Section "DRI"
    Mode 0666
EndSection

Tried this: http://wiki.archlinux.org/index.php/Get … ns_Working but it did not work (mouse pointer didnt move when xorg started)

Can anyone help?

Thanks, Chris.

Last edited by cawill (2008-03-15 10:16:04)

Offline

#2 2008-03-15 02:56:10

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: [SOLVED] Help getting all mouse buttons to work

I think ZAxisMapping should be YAxisMapping. Maybe drop the Protocol line.

Offline

#3 2008-03-15 10:15:47

cawill
Member
From: United Kingdom
Registered: 2007-12-12
Posts: 63

Re: [SOLVED] Help getting all mouse buttons to work

pauldonnelly wrote:

Maybe drop the Protocol line.

Thanks, I tried various settings and now the buttons work how they should.

Offline

Board footer

Powered by FluxBB