Joystick

Joystick

Various things about Spring that do not fit in any of the other forums listed below, including forum rules.

Moderator: Moderators

Post Reply
User avatar
Sucky_Lord
Posts: 531
Joined: 22 Aug 2008, 16:29

Joystick

Post 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
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Joystick

Post 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.
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: Joystick

Post 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
User avatar
Caydr
Omnidouche
Posts: 7179
Joined: 16 Oct 2004, 19:40

Re: Joystick

Post by Caydr »

Does that mean conflicts between mouse and keyboard inputs have been resolved as well? Or just joysticks?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: Joystick

Post by Pxtl »

Brain Damage wrote: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
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?
Post Reply

Return to “General Discussion”