Previous Thread
Next Thread
Print Thread
Page 1 of 2 1 2
Joined: Mar 2004
Posts: 670
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 670
Hi. I recently got myself a saitek p3200 rumble gamepad. Nice one all in all, has 7 axes and 12 buttons (d-pad is treated as 2 axes). There is a problem with left analog stick though (axes 0 and 1 according to jstest), as sdlmame seems to be completely ignoring input from those. I can assign every other axis or button to any sdlmame action, just not these two. Any ideas? Thanks in advance! This is on Fedora 9/x86_64.

P.S.
Is anybody aware of some Linux application which would make the pad rumble?

Last edited by Belegdol; 11/04/08 11:00 AM.
Joined: Jul 2007
Posts: 24
P
Member
Offline
Member
P
Joined: Jul 2007
Posts: 24
you can try to toggle the "digital" button on the gamepad, if i mistakenly hit that on my saitek p990 my left analog stick is not recognized in game.
i could never get the kernel module for force feedback to work with my p2500, that's why i decided just to upgrade to the p990 instead of the p3200 for the 2 extra trigger buttons.

Joined: Mar 2004
Posts: 670
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 670
There is no "digital" button on this gamepad. I'm thinking of some SDL limitation/bug. Is there any sdl joystick test application available?

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
I'm not aware of an explicit "SDL joystick test application", but you could try it through QMC2 and see how that works. It should show / support all axes and buttons of the stick. You could at least see if they are all recognized...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2004
Posts: 670
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 670
They are all recognised in qmc2, as well as by jstest. Does qmc2 use sdl to access joystick-related functions?

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted By Belegdol
Does qmc2 use sdl to access joystick-related functions?

Yes, it does.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Mar 2004
Posts: 670
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 670
Seems like an sdlmame-specific problem then.

Joined: Feb 2007
Posts: 507
C
Senior Member
Offline
Senior Member
C
Joined: Feb 2007
Posts: 507
Originally Posted By Belegdol
Seems like an sdlmame-specific problem then.


Please post the output of "mame -verbose". This will give us an idea how the joystick is viewed by sdlmame.

Joined: Mar 2004
Posts: 670
Senior Member
OP Offline
Senior Member
Joined: Mar 2004
Posts: 670
Here you go. Looks like it is detected correctly. Weird...
Quote:
[jsikorski@snowball ~]$ mame -verbose
Parsing mame.ini
Parsing mame.ini
Invalid joystick map: 0
Build version: 0.128u2 (Nov 2 2008)
Build architecure: SDLMAME_ARCH=
Build defines: SDLMAME_UNIX=1 SDLMAME_X11=1 SDLMAME_LINUX=1 LSB_FIRST=1 PTR64=1 NDEBUG=1
SDL/OpenGL defines: SDL_COMPILEDVERSION=1213 USE_OPENGL=1 USE_DISPATCH_GL=1
Compiler defines A: __GNUC__=4 __GNUC_MINOR__=3 __GNUC_PATCHLEVEL__=0 __VERSION__="4.3.0 20080428 (Red Hat 4.3.0-8)"
Compiler defines B: __amd64__=1 __x86_64__=1 __unix__=1
SDL Device Driver : x11
SDL Monitor Dimensions: 1280 x 800
Using SDL single-window OpenGL driver (SDL 1.2)
Loaded opengl shared library: <default>
OpenGL: NVIDIA Corporation
OpenGL: GeForce Go 7600/PCI/SSE2
OpenGL: 2.1.2 NVIDIA 173.14.12
OpenGL: texture rectangle supported
OpenGL: non-power-of-2 textures supported (new method)
OpenGL: vertex buffer supported
OpenGL: pixel buffers supported
OpenGL: framebuffer object supported
OpenGL: GLSL supported, but disabled
OpenGL: max texture size 4096 x 4096
Input: Adding Kbd #1: System keyboard
Input: Adding Mouse #1: System mouse
Joystick: Start initialization
Input: Adding Joy #1: Saitek PLC Saitek P3200 Rumble Pad
Joystick: Saitek PLC Saitek P3200 Rumble Pad
Joystick: ... 7 axes, 12 buttons 0 hats
Joystick: ... Physical id 0 mapped to logical id 0
Joystick: End initialization
Audio initialized - driver: esd, frequency: 48000, channels: 2, samples: 512
sdl_create_buffers: creating stream buffer of 57344 bytes
ouput: unable to open output notifier file /tmp/sdlmame_out
OpenGL: VBO supported
OpenGL: PBO supported
OpenGL: FBO supported
OpenGL: using vid filter: 1
[jsikorski@snowball ~]$

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Did you recognize the line saying "Invalid joystick map: 0" in your output!? Check mame.ini and the joymap configuration...


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 1 of 2 1 2

Moderated by  R. Belmont 

Link Copied to Clipboard
Who's Online Now
2 members (Richard Bannister, 1 invisible), 20 guests, and 11 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,100
Posts119,249
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com