News:

Zatikon is back and free to play! https://www.chroniclogic.com/zatikon.htm

Main Menu

Joypad problems

Started by harningt, December 18, 2004, 05:35:08 AM

Previous topic - Next topic

harningt

I have 2 different joypads that have many buttons that worked in Gish before.
But now that I've upgraded my 32 bit linux to 64 bit [as well as made sure to have all the SDL, GL, etc ,libraries compiled in 32-bit for gish and mupen64]
(btw mupen64 has a similar issue.. but no buttons work and trying to configure a button assignment results in the process being killed.. strange)

In gish, when I try to assign or use buttons, it seems to only recognize 2 buttons and the first joystick axis set [there's 3.. but i only really need 1 for gish].
Would it be possible to have an amd64 compiled version to test out to see if its an interop issue?  If there's a work-around or fix, that'd be great!

tobiaspb

Hi.

I have the same problem (debian pure64 gcc3.4). I tried to plug my USB sidewinder pad into my old macine (debian sid) and it didn't work with more than 2 buttons there either.

What is funny is when i plugged in a old gameport version of the gamepad simeltaneous, the pad (USB version) worked with all buttons.

The sad part (for me) is that the old machie is too slow for GISH and the new one doesn't have a old gameport device.

Control panel in KDE shows all buttons functioning correctly however.

tobiaspb

I had an idea. I took my old soundcard with a old gameport on it out of my old machine and put it in my new machine. I have disanled the onboard sound (nforce) and everyting works great... except for joypad in GISH. :-(

Same error, just two buttons working. Please help, I would like to play gish with a joypad.

Chronic Logic - Josiah

I am not sure what would cause this problem, we dont have any 64 bit systerms running here to test.  SDL is what controls the joystick inputs, so it may be a problem with the SDL lib.

harningt

Yep... SDL is it, I was gettin tired of how it seemed many 32-bit games weren't working right.

I made a test joystick info reader for SDL, and 32-bit and 64-bit report different things.  32-bit returns the name as the /dev/input... and just a simple 2-axis, 2-button joystick.  64-bit returns full details w/ plenty of axis and buttons [maybe too many axis.. but im not sure how the joystick manages the multiple modes [digital + analog modes set up different axis modes for the PS2-like joystick]
I posted this on the SDL mailling list.... hopefully it can be handled there since I don't know too much about SDL internals.

tobiaspb

I have found a temporery solution to this:

http://qjoypad.sourceforge.net/" target="_blank">http://qjoypad.sourceforge.net/

It works great for now.