View topic - Joysticks



All times are UTC + 1 hour


Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Joysticks
PostPosted: 03 Sep 2009, 11:02 
User avatar

Joined: 16 Oct 2008, 17:54
Sorry if this is in the wrong section, but I didn't see a more suitable one...

Are the joyup and joydown events launched by movement of the Y axis of the joystick, and joyleft and joyright by the X axis? Or is neither implemented yet?

Thanks in advance,
Blue Falcon


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 13:57 

Joined: 29 Nov 2008, 16:06
hi,
I don't know if the joystick engine was implemented or not, but you can use EventGhost to map the events to key presses.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 16:08 
User avatar

Joined: 16 Oct 2008, 17:54
There definitely are events (see uikeys.txt) but what triggers them?
joyup, joydown, joyleft, joyright


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 17:21 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Use joy2key to map your joystick actions to key presses and choose the keypresses according to uikeys.txt.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 17:27 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
Commit newsfeed wrote:
enable optional use of joystick


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 17:33 
Cursed Zero-K Developer
User avatar

Joined: 07 Nov 2007, 21:48
Location: Horse
Ah I didn't know about that.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 17:43 
User avatar

Joined: 16 Oct 2008, 17:54
OK thanks for the help :)

EDIT: Where do I enable it? Can't find it in SpringSettings.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 18:31 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
Blue_Falcon wrote:
OK thanks for the help :)

EDIT: Where do I enable it? Can't find it in SpringSettings.

It was intruduced right now, you need to wait for next release.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 19:16 
User avatar

Joined: 16 Oct 2008, 17:54
Oh, OK. Thanks.

(Any idea when that will be?)


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 19:38 

Joined: 29 Nov 2008, 16:06
You can use the latest testbuld from here: http://buildbot.eat-peet.net/spring/
but you will probably have to wait until tomorrow, to have the feature in.


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 03 Sep 2009, 20:06 
User avatar

Joined: 16 Oct 2008, 17:54
No, I mean the next release (one that will also be uploaded in the ubuntu repo)


Top
 Offline Profile  
 
 Post subject: Re: Joysticks
PostPosted: 04 Sep 2009, 00:54 
Spring Developer

Joined: 24 Jun 2007, 07:34
Location: 50┬░ 56' N, 11┬░ 35' O
http://springrts.com/phpbb/viewtopic.php?f=23&t=20214


Top
 Offline Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Site layout created by Roflcopter et al.