Mythruna
April 23, 2024, 03:36:00 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Welcome to the new forums. See "Announcements" for a note for new users.
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Change controls?  (Read 8156 times)
EmpiricalDepth
Newbie
*
Posts: 5


View Profile
« on: June 06, 2012, 11:13:54 AM »

Id like to customize controls. is there a way to do this?
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #1 on: June 06, 2012, 11:17:33 AM »

Id like to customize controls. is there a way to do this?

Not yet.  If it's to support something like an AZERTY keyboard then there is a way you can make it work.
http://mythruna.com/forum/index.php?topic=723.msg4050#msg4050
Logged
EmpiricalDepth
Newbie
*
Posts: 5


View Profile
« Reply #2 on: June 06, 2012, 11:23:05 AM »

thank you, I'll attempt to use joy2key.
EDIT:
fail

well joy2key wont run without a game controller plugged in.. any ideas of a good keymapper that is as easy and functional as something like joy2key?
« Last Edit: June 06, 2012, 05:30:44 PM by EmpiricalDepth » Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #3 on: June 06, 2012, 06:07:00 PM »

thank you, I'll attempt to use joy2key.
EDIT:
fail

well joy2key wont run without a game controller plugged in.. any ideas of a good keymapper that is as easy and functional as something like joy2key?

What are you trying to remap?
Logged
EmpiricalDepth
Newbie
*
Posts: 5


View Profile
« Reply #4 on: June 06, 2012, 07:51:27 PM »

for starters
arrows - wasd
num0 - space
rCtrl - crouch if there is one
then if theres anymore im not sure yet..
but the gist is .. i was hoping to find something i can open before opening the game that will make the keys i want emulate the keys the game is looking for.
thanks Smiley
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #5 on: June 06, 2012, 07:58:28 PM »

If you are tech savvy then you might be able to look at the AZERTY script and modify it to your needs.  Since the cursor keys are already mapped then it might be trickier, though.

Someday there will be official keyboard mapping in the game but I'm waiting until all of the controls are done so that I don't have to blow away peoples' configurations every few releases.
Logged
EmpiricalDepth
Newbie
*
Posts: 5


View Profile
« Reply #6 on: June 06, 2012, 08:05:34 PM »

Ok i will try some tinkering... i have a little script modding experience... i'll let you know when i get to it how it goes.. thanks for your help

« Last Edit: June 06, 2012, 08:31:29 PM by EmpiricalDepth » Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #7 on: June 06, 2012, 08:09:23 PM »

Ok i will try some tinkering... i have a little script modding experience... i'll let you know when i get to it how it goes.. thanks for your help

You might find this useful:
http://jmonkeyengine.org/javadoc/com/jme3/input/KeyInput.html
Logged
EmpiricalDepth
Newbie
*
Posts: 5


View Profile
« Reply #8 on: June 06, 2012, 08:32:19 PM »


lol thanks i did find that before you posted.....
seems i would have to know how to unbind or change the arrow key assignments and know the strings for the other controls in order to get anywhere with it.
I was able to map the arrow keys just fine, but like you explained they have another function causing both controls assigned to arrow keys to happen at same time.
its not a big deal if you don't want to get into this control binding script any further right now. for now remapping software is prolly my best bet.
Logged
pspeed
Administrator
Hero Member
*****
Posts: 5612



View Profile
« Reply #9 on: June 06, 2012, 08:43:01 PM »

inputManager.removeBinding( string ) should remove the previously registered triggers... if you know what names to pass.

CAM_LEFT = "CAM_PanLeft";
CAM_RIGHT = "CAM_PanRight";
CAM_UP = "CAM_PanUp";
CAM_DOWN = "CAM_PanDown";
CAM_FORWARD = "CAM_Forward";
CAM_BACK = "CAM_Back";
CAM_STRAFE_LEFT = "CAM_StrafeLeft";
CAM_STRAFE_RIGHT = "CAM_StrafeRight";
CAM_RAISE = "CAM_Raise";
CAM_LOWER = "CAM_Lower";
CAM_JUMP = "CAM_Jump";
CAM_RUN = "CAM_Run";
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!