Page 1 of 1
Joystick
Posted: 19 Apr 2010, 21:01
by Sucky_Lord
So my mate has a gamer pad and is wondering whether the joystick could be set to control camera movement in spring?
Edit: It's a logitech G13
Re: Joystick
Posted: 20 Apr 2010, 00:19
by Caydr
No, due to some old code that hasn't been updated, there are a lot of deficiencies in how Spring handles input.
So, not directly... you'd need to use some kind of joystick-to-keyboard mapping software (maybe your G13 comes with this?) and then assign the appropriate keys to the appropriate joystick movements.
A place to start would be Pinnacle Game Profiler. You can get a 30 day trial to see if having joystick input is useful to you, at least. I haven't found any high-quality free alternatives.
Re: Joystick
Posted: 20 Apr 2010, 18:03
by BrainDamage
you don't need any external program, but the joystick input is only available to lua ( so you'll have to make a small script that controls the cam ):
http://springrts.com/phpbb/viewtopic.php?f=23&t=20214
Re: Joystick
Posted: 20 Apr 2010, 23:33
by Caydr
Does that mean conflicts between mouse and keyboard inputs have been resolved as well? Or just joysticks?
Re: Joystick
Posted: 21 Apr 2010, 16:38
by Pxtl
I never got clarification on this issue... does it support all the connected joysticks as separate entities? That is, can I have several players connected to a single Spring instance, each using a joystick?