Title: Joystick problems... Post by: Profound_Darkness 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. Title: Re: Joystick problems... Post by: meep-eep 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. Title: Re: Joystick problems... Post by: Profound_Darkness 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. Title: Re: Joystick problems... Post by: meep-eep 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. Title: Re: Joystick problems... Post by: Michael Martin 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? Title: Re: Joystick problems... Post by: Profound_Darkness 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. Title: Re: Joystick problems... Post by: Michael Martin 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.
|