Quote:
Originally posted by ammoQ
It's done, padJoy 0.80 is available:
http://download.ammoq.com
also includes analog pad emulation (I could not fully test it, since I don't have such a pad; please report whether or not it works)
|
Hello, ammoQ! I'm fine your silence via e-mail wasn't due to some problems, but to the opposite!
Ok, I tried the new padJoy 0.80 and now the config window is ok. For the analog pad emulation, there's a little problem: as I saw in the code, u added the "use_analog" variable, but in cfg.c u never save it on cfg/padJoy.cfg, so everytime the pad configuration is read, the pad is set as digital by default (in fact, everytime u push the "configure" button in the plugins window, the analog option is unselected).
I also tried to add the only 2 lines needed (I think, but I'm not sure) in cfg.c
- line 613, saveConfig
fprintf(f,"use_analog = %d\n", use_analog);
- line 695, loadConfig
else if (!strncmp(line, "use_analog", 10)) {
use_analog = atoi(val);
}
but the 'make' command returns me this error (same error if you try to recompile your not-modified archive and as I don't have a lot time now to solve it, I report it to you

)
gismo:/usr/src/padJoy/src# make
cc -fPIC -Wall -O2 -fomit-frame-pointer -D_REENTRANT -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DVERSION=0 -DBUILD=8 -c -o pad.o pad.c
pad.c: In function `PADopen':
pad.c:172: parse error before `*'
pad.c:198: `pje' undeclared (first use in this function)
pad.c:198: (Each undeclared identifier is reported only once
pad.c:198: for each function it appears in.)
make: *** [pad.o] Error 1
gismo:/usr/src/padJoy/src#
For the moment, thx again, on the other hand the config dialog for the analog features (sticks and buttons) works perfectly
Thx, bye