Public Commander Keen Forum Forum Index Public Commander Keen Forum
This is neat.

Read the rules before posting!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Compatability with dual stick controllers

 
Post new topic   Reply to topic    Public Commander Keen Forum Forum Index -> Commander Genius
View previous topic :: View next topic  
Author Message
BlueGasMask
Vortininja


Joined: 20 Nov 2007
Posts: 288
Location: Papakura, New Zeland

PostPosted: Tue Dec 21, 2010 1:11    Post subject: Compatability with dual stick controllers Reply with quote

For instance: dual shock, xbox, etc.

I'm hoping that gamepads and joysticks haven't been already coded in but if they haven't wold it be possible to map a stick's axis in the controls menu to a certain action (eg for ds3 walking left/right bound to x axis (left stick left/right))

otherwise will i just have to use JoytoKey and MotioninJoy?
_________________
Sascrypte wrote:
DON'T LEAVE ASS MARKS ON MY DOOR
Back to top
View user's profile Send private message AIM Address
Commander Spleen
Lord of the Foobs


Joined: 31 Oct 2007
Posts: 2056
Location: Border Village

PostPosted: Tue Dec 21, 2010 5:58    Post subject: Reply with quote

I imagine that if there's game control support already (I haven't checked but would assume so), then it's just a matter of telling the OS how to interpret the device and feed the input to the program. It would be no different to using a USB or Bluetooth Playstation imitation controller.
_________________
THIS POST IS IRREFUTABLE FACT
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address MSN Messenger
gerstrong
Vorticon Elite


Joined: 31 Dec 2008
Posts: 744
Location: Bochum - Germany

PostPosted: Tue Dec 21, 2010 18:48    Post subject: Reply with quote

Sorry, I don't get it...

You can map to action and direction everything you want. You can map buttons and joystick axes...

So for example you can use buttons for walking, or an axis for jumping. Try it out Happy

That works since version 0.3.0.0 afaik.
_________________
Play it classic, feel it like modern!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BlueGasMask
Vortininja


Joined: 20 Nov 2007
Posts: 288
Location: Papakura, New Zeland

PostPosted: Wed Dec 22, 2010 0:42    Post subject: Reply with quote

gerstrong wrote:
Sorry, I don't get it...

You can map to action and direction everything you want. You can map buttons and joystick axes...

So for example you can use buttons for walking, or an axis for jumping. Try it out Happy

That works since version 0.3.0.0 afaik.


i think i'll go cliché and map button 3 (X) to jump.

actually, i'll store a copy of my key map on CKFS so people who want to use their sixaxis and ds3 controllers won't have to muddle around. i maybe will also set up a map for xbox 360 controllers.
_________________
Sascrypte wrote:
DON'T LEAVE ASS MARKS ON MY DOOR
Back to top
View user's profile Send private message AIM Address
BlueGasMask
Vortininja


Joined: 20 Nov 2007
Posts: 288
Location: Papakura, New Zeland

PostPosted: Wed Feb 02, 2011 3:29    Post subject: Reply with quote

UPDATE: It seems I cannot map any key or axis of my controller OR my joystick to the game... has the feature actually been implemented yet?
_________________
Sascrypte wrote:
DON'T LEAVE ASS MARKS ON MY DOOR
Back to top
View user's profile Send private message AIM Address
gerstrong
Vorticon Elite


Joined: 31 Dec 2008
Posts: 744
Location: Bochum - Germany

PostPosted: Wed Feb 02, 2011 7:01    Post subject: Reply with quote

BlueGasMask: Which version of CG are you using? Also check if analog joystick support is enabled/disabled. Try both cases out... and see what happens.

To map you should be able, but of course your joystick must be detected by the operating system.
_________________
Play it classic, feel it like modern!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
BlueGasMask
Vortininja


Joined: 20 Nov 2007
Posts: 288
Location: Papakura, New Zeland

PostPosted: Wed Feb 02, 2011 7:13    Post subject: Reply with quote

gerstrong wrote:
BlueGasMask: Which version of CG are you using? Also check if analog joystick support is enabled/disabled. Try both cases out... and see what happens.

To map you should be able, but of course your joystick must be detected by the operating system.


The latest version from sourceforge.
My OS detected my DS3 fine, I even tested the Sixaxis functions.
_________________
Sascrypte wrote:
DON'T LEAVE ASS MARKS ON MY DOOR
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Public Commander Keen Forum Forum Index -> Commander Genius All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group