The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 10, 2024, 09:36:24 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Joystick problems...
« previous next »
Pages: [1] Print
Author Topic: Joystick problems...  (Read 2519 times)
Profound_Darkness
Zebranky food
*
Offline Offline

Posts: 48


Current Mood: RL-Buisy...


View Profile WWW
Joystick problems...
« on: August 26, 2004, 07:20:46 pm »

I am not sure if I should report this as a bug or otherwise, I have never used bugzilla but a search for joystick doesn't yeald much.  Anyway I just sat down to try and play UQM with a friend using 2 joysticks (USB both). Both identical.  In game the axis are not being listened to. The buttons all work and if I set it up to use the hat the hat works but the axis do not.  Here is a snip from the config file:
Player-2-Thrust: joystick 1 axis 1 negative
Player-2-Left: joystick 1 axis 0 negative
Player-2-Right: joystick 1 axis 0 positive

thanks for any sugjestions (oh, and if I bind player 2 to use axis data from player 1 it works fine, it's like it is ignoring joystick 2 axis input).  Also the joystick works fine in the windows control panel as well as a DirectX app I am playing with.

Basicaly I am looking for confirmation on if this is my own wrong doing or not.
Logged

meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Joystick problems...
« Reply #1 on: August 26, 2004, 09:38:04 pm »

What version of UQM are you running? I think the 0.3 release was released with SDL 1.2.5, and judging by the SDL changelog there have been rather a lot of joystick bugs fixed since.
The cvs snapshots are built using SDL 1.2.7, so if you haven't tried those, I suggest you do. Or you could build from CVS yourself, in which case it's up to you what SDL you use, so I suggest the latest one.

As for a possible problem with the UQM input, that's McMartin's terrain. I'm sure he'll read this later.

Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Profound_Darkness
Zebranky food
*
Offline Offline

Posts: 48


Current Mood: RL-Buisy...


View Profile WWW
Re: Joystick problems...
« Reply #2 on: August 27, 2004, 10:26:39 am »

I tend to use the latest builds on the cvs snapshots page: http://uqm.stack.nl/files/snapshots/

Currently using the 8-13 build non-debug.  I also tried the stable build of 003, same problem both (though the stable build has issues sound wize for me so thats why I use the latest build)...  Thats what made me uncertain as to if this was bug worthy or just my own error.
Logged

meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Joystick problems...
« Reply #3 on: August 27, 2004, 10:39:12 am »

It's not something that had come up before.
Better to report it in the bug database with it turning out not being a bug, than a real bug being forgotten.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Joystick problems...
« Reply #4 on: August 28, 2004, 04:44:54 am »

Hrm.  When UQM starts, it will interrogate the joystick information.  How many joysticks does it say it finds?  My system has one joystick, so the startup reads...

1 joysticks were found.
The names of the joysticks are:
   USB Game Device

How many joysticks are being detected by SDL?
Logged
Profound_Darkness
Zebranky food
*
Offline Offline

Posts: 48


Current Mood: RL-Buisy...


View Profile WWW
Re: Joystick problems...
« Reply #5 on: September 04, 2004, 02:29:04 am »

Sorry for the delay, finaly got my friend to bring his ps2 pad with him since my spair is busted.

SDL reports 2 joysticks, see below:

2 joysticks were found.
The names of the joysticks are:
   MP-8866 Dual USB Joypad
   MP-8866 Dual USB Joypad
VControl opened joystick: MP-8866 Dual USB Joypad
4 axes, 12 buttons, 1 hats.
VControl opened joystick: MP-8866 Dual USB Joypad
4 axes, 12 buttons, 1 hats.

My settings:
Player-2-Thrust: joystick 1 axis 1 negative
Player-2-Left: joystick 1 axis 0 negative
Player-2-Right: joystick 1 axis 0 positive
Player-2-Weapon: joystick 1 button 3
Player-2-Special: joystick 1 button 2
# Player-2-Escape: joystick 1 button 0
Player-2-Thrust: joystick 1 hat 0 up
Player-2-Left: joystick 1 hat 0 left
Player-2-Right: joystick 1 hat 0 right

I think I should be reporting this as a bug now...  Thanks for helping me out.
Logged

Michael Martin
Core Team
*Smell* controller
*****
Offline Offline

Posts: 387



View Profile
Re: Joystick problems...
« Reply #6 on: September 04, 2004, 11:31:22 am »

Yeah, that definitely sounds like a bug all right.  I'll see what I can do - this will probably involve begging a joystick from someone else.  =/  Thanks for the report.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!