Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Just for future reference (e.g., where do we need explicit instructions), what was the difference between the keys.cfg that didn't work and the one that did?
|
|
|
Logged
|
|
|
|
ConjurerDragon
Zebranky food
Offline
Gender:
Posts: 25
|
I too would like to play UQM using the Joystick and not the keyboard.
I took a look at the keys.cfg file, but have no clue what to alter to get it working and the line that says something like "Joysticks should work if they are USB and in Windows XP" further discourage me.
Is it possible to use the Joystick in Windows 95 C when it is a non-USB Joystick (an old Quickshot)? bye Michael
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Start UQM and look for a line near the top of the console window that says
"X joystick(s) were found."
If X is not zero, you're home free.
|
|
|
Logged
|
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Keep going. Here's my startup spam:
Initializing base SDL functionality. Saved games are kept in /home/mcmartin/.uqm/save/. Initializing Pure-SDL graphics.). SDL driver used: x11 SDL initialized. Initializing Screen. Set the resolution to: 640x480x32 Initializing SDL audio subsystem. SDL audio subsystem initialized. Initializing MixSDL mixer. MixSDL using driver 'SDL_audio' MixSDL Mixer initialized. opened dsp at 44100 Hz 16 bit stereo, 4096 samples audio buffer Initializing sound decoders. Sound decoders initialized. 1 joysticks were found. The names of the joysticks are: 079d:0202 VControl opened joystick: 079d:0202 7 axes, 12 buttons, 1 hats.
|
|
|
Logged
|
|
|
|
ConjurerDragon
Zebranky food
Offline
Gender:
Posts: 25
|
After the line with SDL something the remaining lines fly through so fast that I can´t read them, nor that I could press PAUSE and thus be able to read them.
Is there a way to let the lines run through slower on the screen to see what the lines with Joystick say?
|
|
|
Logged
|
|
|
|
ConjurerDragon
Zebranky food
Offline
Gender:
Posts: 25
|
Forget about the last question: When I ran UQM without the fullscreen command I could easyli stop and copy the lines as they ran through, they are: Initializing SDL (pure). SDL driver used: directx SDL initialized. Initializing Screen. Set the resolution to: 640x480x16 Initializing SDL audio subsystem. SDL audio subsystem initialized. Initializing MixSDL mixer. MixSDL using driver 'SDL_audio' MixSDL Mixer initialized. opened dsound at 44100 Hz 16 bit stereo, 4096 samples audio buffer Initializing sound decoders. Sound decoders initialized. 0 joysticks were found. 'lbm/scclrtab.ct' -- 8722 bytes"
So 0 Joysticks were found means that I´m out of luck?
That is strange as even the old SC 1 still runs fine on my PC and detects the same Joystick. bye Michael
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
We're using SDL to handle all input; under Windows, that should forward to DirectInput. If DirectInput can't see your joystick, UQM can't. If it can, then it should. If it can't, then there's a bug in SDL somewhere.
|
|
|
Logged
|
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Neither of the original games uses DirectX. Check the "Game Controllers" section of your control panel and make sure Windows knows about it; I suppose if your DirectX version were less than 5 or so this would also cause problems.
If it isn't any of those, then it's an interface issue in a library we didn't write.
|
|
|
Logged
|
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
its in the mail...
~DEFIANT
|
|
|
Logged
|
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
in a recent turn of events, i am forced to be one asking for help, instead of giving it. its seems after installing "windows xp professional" my controller has stopped working. ive tried messing with the settings in both the keys.cfg and the settings in windows for control pads. nothing seems to be working and i didnt change anything besides the upgrade.
ive also taken note, that in my installed programs, "ur-quan masters(remove only)", is no longer there. my questions is, does UQM need to be registered with windows in order to get the controller to work, and... how would i go about doing that with the folder i already have that works. well with the keyboard anyway.
i knew i should of stuck with win98se, but i couldnt resist the upgrade. oh well...help
~DEFIANT
|
|
« Last Edit: December 01, 2003, 02:02:45 am by DEFIANT »
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Are you editing the right version of keys.cfg? Win98se keeps up under the UQM directory, IIRC, while XP keeps it in the currently logged in user's "Documents and Settings" directory.
|
|
|
Logged
|
|
|
|