Pages: [1] 2 3
|
|
|
Author
|
Topic: gamepad problem (Read 10596 times)
|
Gunnar Horrigmo
Guest
|
to be brief: I can't get any response from the axes on my gamepad (a PS2-controller hooked up through a rockfire (USB) adapter). buttons work ok.
any help is greatly appreciated.
here's the relevant section from the keys.cfg
# joystick 0 threshold 10 # How far to move before it counts; 0-30000 Menu-Left: joystick 0 axis 0 negative Player-1-Left: joystick 0 axis 0 negative Lander-Left: joystick 0 axis 0 negative Menu-Right: joystick 0 axis 0 positive Player-1-Right: joystick 0 axis 0 positive Lander-Right: joystick 0 axis 0 positive Menu-Up: joystick 0 axis 1 negative Player-1-Thrust: joystick 0 axis 1 negative Lander-Thrust: joystick 0 axis 1 negative Menu-Down: joystick 0 axis 1 positive Menu-Cancel: joystick 0 button 3 Player-1-Special: joystick 0 button 2 Menu-Select: joystick 0 button 0 Player-1-Weapon: joystick 0 button 0 Lander-Weapon: joystick 0 button 0 Menu-Page-Up: joystick 0 button 4 Menu-Page-Down: joystick 0 button 6 Menu-Zoom-In: joystick 0 button 5 Player-1-Escape: joystick 0 button 8 Lander-Escape: joystick 0 button 8 Menu-Zoom-Out: joystick 0 button 7
|
|
|
Logged
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
im using the same same thing (sort of), mines not made by rockfire though. mines made by "kiky x-series", but any ways, try this config: # <Joyport0-threshold0> "Left" <Joy-A0-> "Right" <Joy-A0+> "Up" <Joy-A1-> "Down" <Joy-A1+> "Enter" <Joy-B3> "Rshift" <Joy-B2> "RCtrl" <Joy-B1> " " <Joy-B5> "[" <Joy-B7>"]" <Joy-B8> #
this is what i use for referance, ill list what does what:
triangle=no function square=select,thrust,a button x button=fire mainweapon,cancel selections,b button circle=fire secondary weapon,c button L1=no function L2=nofuntion R1=zoom in R2=zoom out start=no function select=no function
well there you have it... ~DEFIANT
|
|
« Last Edit: August 02, 2003, 11:24:50 am by DEFIANT »
|
Logged
|
|
|
|
|
mike allegretto
Guest
|
how do i use these joystick commands to configure the game?
|
|
|
Logged
|
|
|
|
Defender
Enlightened
Offline
Gender:
Posts: 817
|
in the keys.cfg file.
default instilation: C:\Program Files\The Ur-Quan Masters\userdata\uqm
you can then open with note pad or word pad and edit the controls that way.
~DEFIANT
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
You may find that Notepad tries to put it all on one line; if so, use EDIT.COM instead. Open it in EDIT.COM, save it, and the problem will go away.
|
|
|
Logged
|
|
|
|
Titler
Guest
|
Just to follow up on this; I've just downloaded and installed the game for the first time, and I had my pad ignored too. To get it working, remove the "# " from after EVERY line after the one mentioned above. If you want to force Wordpad to save exactly as is, click the cross to close the program and choose "Yes" to save changes... this is useful for other games which need the file to retain it's file tag (usually a .cfg file. Saving via File > Save in wordpad will convert to a .txt file)
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
"#" means "comment". The gamepad controls there are meant to be representative, not definitive.
But, for the record, they were based on my own setup, which is a PS2 controller hooked up to a Radio Shack PS2->USB adapter. One thing to watch out for is that if you have the Analog mode set, it seems to read the D-Pad as a POV hat. That probably varies by adapter, but the configuration can handle that too (the lines look like "Lander-Thrust: joystick 0 hat 0 up").
|
|
|
Logged
|
|
|
|
CovertOps52382
Zebranky food
Offline
Posts: 4
HAR HAR HAR
|
I was overjoyed when I found this game... and immediately crushed when my Gravis gamepad didn't work for me. I'm seeing posts about using a PS2 USB, controller, but I dug out my old Gravis, and have it configured as a plain old 4-button joypad to Windows 2k through the serial port (I don't even want to try configuring all the buttons and whatnot for my Nyko Air Flo, dual analog pad). And I cannot get it to work, after altering and saving my keys.cfg file, I must've screwed up because then the game couldn't even run. So what's the proper syntax for something as simple as a 4-button, serial-port, Gravis gamepad, anybody?
|
|
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
Remove the references to buttons that aren't between 0 and 3. If you put in an illegal keyconfig (and trying to map to nonexistent joystick axes or buttons counts) then it will refuse to run.
Once we get keyconfig within the game, that will go away; but it seemed less bad to crash on borked input configurations than to silently make everything impossible to control.
|
|
|
Logged
|
|
|
|
CovertOps52382
Zebranky food
Offline
Posts: 4
HAR HAR HAR
|
Okay, these posts aren't helping much. I've tried all sorts of stuff, switching the joystick number between 0 and 1, making the axes hit a threshold of 1, rather than 0, nothing is working, I've even removed the # from the first informational line before the joystick threshold between 0-30000. I guess my programming skills just suck, because no other arguments or alterations to the default keys.cfg file are working. Hell, I've even tried setting my Nyko 13-button like a Playstation 2 controller, as mentioned earlier, no luck for me. <sigh> Guess I'll have to wait for that key configuration to be added before I can thouroughly enjoy this game.
|
|
« Last Edit: October 24, 2003, 09:53:39 pm by CovertOps52382 »
|
Logged
|
|
|
|
Michael Martin
Core Team
*Smell* controller
Offline
Posts: 387
|
The input system gives errors if it doesn't understand something. Look for lines that begin "VControl: " to see what it's being confused by.
|
|
|
Logged
|
|
|
|
CovertOps52382
Zebranky food
Offline
Posts: 4
HAR HAR HAR
|
Okay, I'm getting no error messages, either which pop up or in the running command line for the game. It's like my game pad doesn't even give a signal to the game. Maybe if I understood a bit more in the keys.cfg, I'd understand why my gamepad is being ignored.
I understand that the keys.cfg file's default imput is basically a template, the lines it has printed need to be changed to accept input.
There's a joystick number on each line with a number of 0, what does the number 0 represent? Does that need to be changed? Do the axes need to be changed from the number 1? Maybe if someone could e-mail me a copy of their keys.cfg which works at SethCDetling@yahoo.com, I could copy and paste. Thanks
|
|
|
Logged
|
|
|
|
|
CovertOps52382
Zebranky food
Offline
Posts: 4
HAR HAR HAR
|
WHOOPIDTY DEE AND TROLLY BAZOO!!! Oh happy days of jubilation, you are are my hero!!!!
|
|
|
Logged
|
|
|
|
Pages: [1] 2 3
|
|
|
|
|