Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Mouse trouble with SDLMAME v129 #48544 03/06/09 06:17 PM
Joined: Mar 2009
Posts: 7
R
rmf Offline OP
Member
OP Offline
Member
R
Joined: Mar 2009
Posts: 7
I am having mouse trouble with SDLMame .129 on Ubuntu 8.10 Intrepid.

The mouse works FINE under Ubuntu. Responds just great.

When I execute "sdlmame" for any game that could use a mouse, the mouse doesn't work. When I exit the game (using Escape), the mouse cursor is right there and works fine!

I have confirmed:

mouse 1

in the mame.ini.

I've also tried: "sdlmame -mouse MISSILE" as well as "sdlmame -nojoy -mouse MISSILE" etc.

What is funny is that every-so-often.. the mouse works in SDLMame. Sometimes after a reboot or something like that. Then I'll play a game or two and whammo.. Mouse dead in games.

When the mouse was working, the tracking was QUITE slow relative to the mouse under Linux. In addition, keypresses were not recognized as quickly.

So, my situation is:

- mouse frozen, not working

- when the mouse RARELY works in a game, the keyboard response is slow

P4 2.6Ghz
NVidia card
Running with opengl

All other (non-mouse using) games are fine.
Mouse is fine under Linux (sdlmame not running)

-Rob


Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48548 03/06/09 06:32 PM
Joined: Mar 2009
Posts: 7
R
rmf Offline OP
Member
OP Offline
Member
R
Joined: Mar 2009
Posts: 7
One other thing.. and I wonder if this matters. I'm using PS/2 keyboard and mouse. This is a Dell GX240, so, it has PS/2 connections for keyboard and mouse. I guess I could go to USB if anyone thinks that would help.

Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48552 03/06/09 09:05 PM
Joined: Mar 2009
Posts: 7
R
rmf Offline OP
Member
OP Offline
Member
R
Joined: Mar 2009
Posts: 7
I tried switching the mouse to USB. No luck!! It still works just PERFECTLY in Linux/Ubuntu. But, when I fire up sdlmame, the mouse cursor is frozen in any games that use it: Centipede, Missile Command, etc.

sdlmame (with verbose on) shows it seeing the "System Mouse" when it starts.

REALLY REALLY FRUSTRATING!! I feel like I'm the only one with this problem EVER!! I've tried different mice as well!! X-Arcade, my regular PS/2 mouse, a USB mouse. Same behavior... Perfect in the O/S, nothing in sdlmame.

I'm using the latest sdlmame from today. An older one, the one that came with Ubuntu 8.10 has the same problem!!

Any help or suggestions would be appreciated.

-Rob

Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48553 03/06/09 09:12 PM
Joined: Mar 2001
Posts: 16,523
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,523
I don't think you're understanding properly. If you're running in windowed mode your X mouse cursor will stop responding once SDLMAME takes over the mouse. That does not mean there isn't mouse control in the game or that SDLMAME doesn't see your mouse.

Try running full-screen instead of windowed, and try a game with it's own cursor like Lethal Enforcers.

Re: Mouse trouble with SDLMAME v129 [Re: R. Belmont] #48557 03/06/09 10:28 PM
Joined: Mar 2009
Posts: 7
R
rmf Offline OP
Member
OP Offline
Member
R
Joined: Mar 2009
Posts: 7
I'm running full screen. The games take up everything. Within the game, the mouse controlled things don't move.

Centipede -> The guy on the bottom doesn't move.
Missile Command -> the target doesn't move

Quite frustrating.

-Rob

Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48606 03/09/09 01:06 PM
Joined: Mar 2009
Posts: 7
R
rmf Offline OP
Member
OP Offline
Member
R
Joined: Mar 2009
Posts: 7
Found the problem. The problem has to do with the default window manager in GNOME (Ubuntu Linux's default desktop). It seems when SDLmame is run in full-screen mode, the window manager occasionally gets the mouse instead of SDLmame.

By changing the Sessions preferences to NOT run the window manager, things seem to work quite solidly.

What a major pain it was to figure this out!!!

Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48607 03/09/09 01:10 PM
Joined: Mar 2001
Posts: 16,523
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,523
That seems very improbable - while I develop SDLMAME on KDE, I know lots of people run it on GNOME with no ill effects. Perhaps your video card's drivers are buggy.

Re: Mouse trouble with SDLMAME v129 [Re: rmf] #48608 03/09/09 01:40 PM
Joined: Sep 2004
Posts: 43
V
Van Ba Offline
Member
Offline
Member
V
Joined: Sep 2004
Posts: 43
I noticed some first-person shooting games, when I run SDLMAME with the -lightgun_device mouse parameter, do not work: the cursor simply does not follow the mouse movement,
Examples are Operation Thunderbolt and Triple Hunt.
Other games, such as Operation Wolf and all the Exidy 440 System games, work fine.

On my Mac, this happems with SDLMame only. I tested a few definitive versions (0.111, 0.119, 0.129).
MAME OS X is not affected by the problem.

Note the code part who managed controls seems to be quite different from driver to driver; see for example opwolf.c and othunder.c.

Re: Mouse trouble with SDLMAME v129 [Re: Van Ba] #48609 03/09/09 02:45 PM
Joined: Mar 2001
Posts: 16,523
R
R. Belmont Online Content
Very Senior Member
Online Content
Very Senior Member
R
Joined: Mar 2001
Posts: 16,523
Some "lightgun" games aren't actually lightguns - Operation Wolf in the arcade used an analog joystick with a gun prop mounted on top of the handle, and Terminator 2 was the same way. To make sure you cover all of them, map the mouse to both the lightgun and the astick.

Re: Mouse trouble with SDLMAME v129 [Re: R. Belmont] #48610 03/09/09 02:58 PM
Joined: Dec 2004
Posts: 111
P
Phil Bennett Offline
Senior Member
Offline
Senior Member
P
Joined: Dec 2004
Posts: 111
Operation Wolf is an odd one - it actually uses a cabinet-mounted lightgun (hence the screen flash).

Page 1 of 2 1 2

Moderated by  R. Belmont 

Who's Online Now
2 registered members (AJR, Golden Child), 109 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics8,784
Posts115,597
Members4,908
Most Online890
Jan 17th, 2020
Powered by UBB.threads™ PHP Forum Software 7.7.3