You are not logged in.

#1 2007-12-31 21:55:09

Calidore
Member
Registered: 2007-05-17
Posts: 14

[Solved] mouse problems

my mouse works just fine in KDE but in opengl games the pointer keeps on right or botom side of the screen and when i want to move it to the left it jumps right back off the screen.

i guess this started after the upgrade, but i cant say for sure when becouse i havent played any opengl games in a while.

I hope you understand my probem as english is not my native language.


Here is my xorg conf.

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
    RgbPath      "/usr/share/X11/rgb"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection

Section "ServerFlags"
  Option "blank time" "0"
  Option "standby time" "0"
  Option "suspend time" "0"
  Option "off time" "0"
 EndSection

Section "Module"
    Load  "xtrap"
    Load  "dbe"
    Load  "record"
    Load  "extmod"
#    Load  "dri"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
EndSection

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "kbd"
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "evdev"
    Option        "Name" "Logitech USB-PS/2 Optical Mouse"
    Option      "CorePointer"
    Option        "ConnectedMonitor" "CRT"
    Option      "TripleBuffer" "True"
    Option      "DamageEvents" "True"
#    Option        "Protocol" "auto"
    Option        "Device" "/dev/input/event4"
#    Option        "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection

Section "Device"
    Identifier  "Card0"
    Driver      "nvidia"
    VendorName  "nVidia Corporation"
    BoardName   "NV34 [GeForce FX 5200]"
    BusID       "PCI:1:0:0"
    Option        "NoLogo" "true"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    SubSection "Display"
        Viewport   0 0
        Depth     1
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     4
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     8
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     15
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
    EndSubSection
EndSection

Last edited by Calidore (2008-01-07 23:09:40)

Offline

#2 2008-01-05 10:55:53

quantax
Member
Registered: 2007-08-16
Posts: 24

Re: [Solved] mouse problems

I had a similar issue caused by unclutter. Using the -grab option solved it.

Last edited by quantax (2008-01-05 11:03:02)

Offline

#3 2008-01-05 11:46:24

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [Solved] mouse problems

I ran into this same problem a week or two ago after an upgrade.
You need to export an environment variable before running the opengl game.
I made a small script which starts Quake Wars for me, but I think the simplest solution is to add the following line to your .bashrc file

export SDL_VIDEO_X11_DGAMOUSE=0

edit: You might have to log out completely before this takes effect

Last edited by dmartins (2008-01-05 11:54:12)

Offline

#4 2008-01-07 23:09:05

Calidore
Member
Registered: 2007-05-17
Posts: 14

Re: [Solved] mouse problems

Thanks, it works now!

Offline

Board footer

Powered by FluxBB