PDA

View Full Version : Problems with analog control (works fine with analog turned off)


terran
January 24th, 2004, 05:09
I'm having trouble with analog control. I'm using ammoQ's padJoy plugin, which is the only one I've found which supports analog input at all. The plugin works just fine until I check the "analog" box, and then it starts having problems.

I've tried it with two games, Gauntlet and Chrono Cross, and both have had trouble of one sort or another. Gauntlet tends to hang on the initial splash screen, but if I reboot enough times, it will eventually load (race condition of some sort?). Chrono Cross, on the other hand, will start up fine, but won't recognize any input whatsoever. Rebooting it lots of times didn't ever cause it to get lucky. Both games work normally with the analog input turned off.

To try to ascertain whether the problem was in the plugin or PCSX, I edited plugins.c in PCSX and hacked the ID byte for the analog pad from 0x73 to 0x41, falsely identifying it as a normal pad. Everything worked. (without analog functionality, of course).

I'm using PCSX version 1.5, and the padJoy plugin version is 0.8.2 (identifies as 1.0.8 in plugin select box). The kernel version is 2.4.22, and I've tried a couple of different USB joypads with identical results. I tried different BIOSes with no improvement. I also tried identifying the input device as the analog joystick and a couple of others, and everything that was NOT the standard pad had the same problems.

I have no idea how to trace the problem further. Could anyone point me in the right direction about how to debug this? I know only a couple of assembly languages, and R3000 isn't one of them, so tracing through the disassembled game to figure out what's going on is not a viable option for me.

:hdbash:

mase76
January 23rd, 2008, 21:59
I've got the same Problem, too.
When analog is checked, the Pad isn't recognized in any game.
I'm using the Linux Versions of padjoy and pcsx.

terran
January 23rd, 2008, 23:11
Haha, one day short of FOUR YEARS since I posted, and nobody has figured out what's going on! Sadly, I am just as ignorant now as I was in 2004.

I spent several days working on it back then, and I never figured it out. Some games (Gauntlet) I was occasionally able to get to work, by restarting repeatedly until I got lucky and then saving state; it worked repeatably when I loaded from a savestate where it was on. Other games (Chrono Cross) never worked at all with analog on, so I could not employ that kluge, and I simply did without.

mase76
January 23rd, 2008, 23:12
I read, that pressing F5 will help.
I did so, and the pad was there!
But I have to press F5 multiple times in the game, that the game
continues loading. For example: I ran Gran Turismo 1. When choosing
"Simulation Mode" the screen keeps on the main menu. Pressing F5 again
let the game continue loading the simulation mode. Chosing a race or
something, I have to press F5 again, that the game continues.