Page 2 of 2

Re: Use your joystick with spring

Posted: 20 Apr 2010, 19:00
by SirMaverick
Rossendale wrote:Hey,
Ok, i put the lua in etc etc, and on running it in game - it registers my joystick, displaying inputted joystick movement on screen, yet does nothing to the map.
The widget from first post does nothing besides the output. You'd need to modify it to actual do something useful.

Re: Use your joystick with spring

Posted: 22 Apr 2010, 00:11
by Rossendale
ahh. So it's showing me it works?

In that case, can any nice person show me the code i'll need to get it to work properly?

Re: Use your joystick with spring

Posted: 27 Sep 2010, 19:17
by Kixu
Would someone help me so I could bind the joystick to moving around the map?

Re: Use your joystick with spring

Posted: 27 Sep 2010, 19:27
by smoth
Image
I use my joystick with spring... in front of a mirror.... in the nude

Re: Use your joystick with spring

Posted: 28 Sep 2010, 11:28
by Blue_Falcon
smoth wrote:Image
I use my joystick with spring... in front of a mirror.... in the nude
Uh, what?

Re: Use your joystick with spring

Posted: 21 Jan 2020, 19:07
by IceXuick
bump!

This would be cool - not Smoth's thing, but moving map with 3Dconnexion!

Re: Use your joystick with spring

Posted: 21 Jan 2020, 21:35
by PicassoCT
Gentle reminder, that i made a camera tracking with a cellphone.. so if you are willing to glue markers to your monitor and your cellphone to your head.. you can make a view tracker.

Would a 3Dconnexion really work here? Its mainly a CAD-CAM thing. Still think, that putting it in AR on a carpet or table would be the best solution. It worked for table-top gaming for years after all..

Sorry for derail-gunning.

Re: Use your joystick with spring

Posted: 29 Dec 2020, 04:21
by saturnV
IceXuick wrote: 21 Jan 2020, 19:07 bump!

This would be cool - not Smoth's thing, but moving map with 3Dconnexion!
https://github.com/spring/spring/blob/d ... ngelog.txt
-- 105.0 --------------------------------------------------------
Misc:
- remove joystick support

Re: Use your joystick with spring

Posted: 04 Jan 2021, 13:38
by Beherith
I tested 102 through 104, and none of my joysticks worked. So unfortunately there is only a possible workaround maybe: send joystick data through a luasocket externally.

Re: Use your joystick with spring

Posted: 23 Jan 2021, 08:39
by saturnV
Beherith wrote: 04 Jan 2021, 13:38 I tested 102 through 104, and none of my joysticks worked. So unfortunately there is only a possible workaround maybe: send joystick data through a luasocket externally.
Those are likely too new.
The thread is from 2009.

Kernel Panic hero mode with gamepad might have been epic.
https://www.youtube.com/watch?v=KUnwnykPUg0

Re: Use your joystick with spring

Posted: 25 Jan 2021, 17:20
by Beherith
I tried:

PS4 vanilla, PS4 with DS4Windows (xinput layer), a bluetooth generic controller, and an el cheapo special gamepad from about 2012.

Re: Use your joystick with spring

Posted: 25 Jan 2021, 17:43
by saturnV
I meant that the engine versions you tried were maybe too new, not the gamepads.

It seems to have been quite incomplete anyway, for example how were multiple gamepads supposed to work? No way to get info about gamepads? (number of buttons and axis etc)

Re: Use your joystick with spring

Posted: 28 Jan 2021, 13:47
by PicassoCT
Coupling spring camerashake to a fleshlight launch via blue tooth.. climaxing during defeat.. what a project.

@all: Avoid 10 year old necro please, there is no prospect of any non-ancient Spring supporting a joystick. (Silentwings)

Re: Use your joystick with spring

Posted: 08 Apr 2021, 11:45
by Beherith
I know this is locked, just wanted to share my way of making this work in 2021 for people to find it if they run into this via search:

Uses python tcp server to forward into luasocket

https://github.com/Beherith/camera_joystick_springrts