Use your joystick with spring - Page 2

Use your joystick with spring

Discuss Lua based Spring scripts (LuaUI widgets, mission scripts, gaia scripts, mod-rules scripts, scripted keybindings, etc...)

Moderator: Moderators

SirMaverick
Posts: 834
Joined: 19 May 2009, 21:10

Re: Use your joystick with spring

Post 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.
Rossendale
Posts: 2
Joined: 20 Apr 2010, 18:24

Re: Use your joystick with spring

Post 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?
User avatar
Kixu
Posts: 44
Joined: 12 Mar 2008, 08:29

Re: Use your joystick with spring

Post by Kixu »

Would someone help me so I could bind the joystick to moving around the map?
User avatar
smoth
Posts: 22309
Joined: 13 Jan 2005, 00:46

Re: Use your joystick with spring

Post by smoth »

Image
I use my joystick with spring... in front of a mirror.... in the nude
User avatar
Blue_Falcon
Posts: 155
Joined: 16 Oct 2008, 18:54

Re: Use your joystick with spring

Post by Blue_Falcon »

smoth wrote:Image
I use my joystick with spring... in front of a mirror.... in the nude
Uh, what?
User avatar
IceXuick
Posts: 514
Joined: 14 Mar 2006, 01:46

Re: Use your joystick with spring

Post by IceXuick »

bump!

This would be cool - not Smoth's thing, but moving map with 3Dconnexion!
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10368
Joined: 24 Jan 2006, 21:12

Re: Use your joystick with spring

Post 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.
saturnV
Posts: 79
Joined: 03 Dec 2020, 07:58

Re: Use your joystick with spring

Post 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
User avatar
Beherith
Moderator
Posts: 5010
Joined: 26 Oct 2007, 16:21

Re: Use your joystick with spring

Post 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.
saturnV
Posts: 79
Joined: 03 Dec 2020, 07:58

Re: Use your joystick with spring

Post 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
User avatar
Beherith
Moderator
Posts: 5010
Joined: 26 Oct 2007, 16:21

Re: Use your joystick with spring

Post by Beherith »

I tried:

PS4 vanilla, PS4 with DS4Windows (xinput layer), a bluetooth generic controller, and an el cheapo special gamepad from about 2012.
saturnV
Posts: 79
Joined: 03 Dec 2020, 07:58

Re: Use your joystick with spring

Post 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)
User avatar
PicassoCT
Journeywar Developer & Mapper
Posts: 10368
Joined: 24 Jan 2006, 21:12

Re: Use your joystick with spring

Post 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)
Locked

Return to “Lua Scripts”