Hi all,
Ok, I have an SDL program that I’m trying to get working with joystick input.
I’m developing on Windows XP, using cygwin + mingw. The program uses opengl
and I’ve installed the directx libraries and headers. Running configure, SDL
says it finds the directx libraries. Any way to verify that directx is being
used for the joystick input?
The target platform is an older Windows 98 system. It has directx 8.1
installed.
The joystick is a custom built joystick (basically a modified Star Wars yoke
using this hack http://arcadecontrols.com/arcade_jude.shtml). I am using the
joystick port.
Selecting the game controller in Windows 98, I can calibrate the joystick and
it works fine in the Windows 98 calibration test window.
Running the testjoystick.c program that comes with SDL, the joystick is not
centered, but is in the lower left.
The strange thing is that if I move the joystick to the lower right, the
program begins to stutter. If I go all the way to the lower right, it
actually locks up the program. I experience the same thing in the SDL program
I wrote using an entirely differnt joystick routine (events vs the joystick
apies).
I’ve been looking online and I can find a joystick tutorial here and there,
but I can’t find anything covering the issues I’ve been having.
If someone could point me in the right direction, offer advice, maybe a test
program, point to a website, article…anything, I’d greatly appreciate it.–
Mark Jenison