Jump to content
(Open Beta) HyperSpin 2 is now available for everyone ×

JoyToKey


Recommended Posts

Posted

Guys,

Hoping someone can help me out here.  I'm using JoyToKey for admin type functions with my mame cabinet.  For instance Button 10 + Button 9 are setup as "Esc" which allows me to exit my emulators and go back to the Hyperspin FE.  This is working great and can confirm if i disable that setup it no longer works (Proof its working).   The issue is that's the only "Two buttons pressed simultaneously" equals a separate key function i can get to work.  If i try to have for instance button 10 + Button 1 equal Pause "key p" it wont work.   If i remove the working ESC function mentioned above and replace it with "P" Key for pause it won't work either.  

Any ideas as to why the only two button combo i can get to work is for ESC?  This exists for all emulator profiles.

 

Thanks!

Posted

I think you have to also ensure in rocket launcher other keys are assigned to kill

Could you please elaborate on what you mean?  Exiting emulators back to FE work fine via Buton alias mapping in joytokey where two keys = "Esc".   I can't get any other shift (Button Alias) mapping combos to work though.  My example above is for "P" which is pause in mame.  Or two buttons equaling "Tab" to bring up mame menu.  Those are the only other 2 combos I want to get working but no workie.   What are you saying about RocketLauncher issuing a Mame command?  Im confused.

Thanks!

Posted

Rocket launcher needs to be set for the command you want to use. Go to the global tab and I think in the second tab you should see something like force quit. Put in p in there and try using p within. Mame from rocketlauncher and it should kill it. If the keyboard works then try joytokey first

Posted

I think I understand. I think it doesn't work because you are already using button 10 in a combo. Try setting the pause command to 2 different buttons.

Sent from my SGH-I337M using Tapatalk

Posted

Found out some interesting info here with more testing done:

 

So I had Esc in Mame setup to exit the UI.  I have RocketLauncher escape "kill" emulator key to esc too.  So what I did was put Mame exit UI via emulator config while in game from esc to key "0".  Then went into Mame Systme profile via rocket launcher and changed button 31 from Esc to 0.  Button 31 is issued by pressing both button 10 and 9 together.   When I tried that it no longer exits Mame.  This leads me to believe that the mame profile is loading however Mame isn't accepting those keys and the key combo is being issues and relayed to Hypersin FE.  If I put button 31 back to "esc" in JoytoKey but leave MameUI escape as "0" it then exits the emulator and goes back to hypersin FE. 

 

It's hard to explain this but are you following me?  Essentially the profile must be loading to issue the keystroke based on the button alias mapping I setup but Hypersin is picking it up and not the MAME emulator.  I have mame .0170 with Dinput enabled.  Do I have to flip dinput on in the config or something so its supported by JoyToKey commands?  This is driving me nuts!

Posted

I know this is isolated to only MAME as Taito Type X which only accepts keys as inputs is working great with my joystick setup as I have it working via the system profile created in RocketLauncher.  I don't have any button combinations setup with that emulator but seems to be irrelevant based on my description/findings above.

Posted

Nothing is ever relayed to hyperspin... Exits are handled by the the RL module. If RL is set to exit mame with escape, then it will exit anytime escape is pressed. Makes no difference what you put in mame for an exit key.

Sent from my SGH-I337M using Tapatalk

Posted

Additional details with another test that definitely proves its a MAME issue.  Taito Type X had "esc" setup via JoyToKey profile as button 31 (button 10+button9).  I removed esc from button 31 config in joytokey for this systems profile and now it no longer exits Taito Type X games.  This once again provies each system profile is loading and working as expected.  However for whatever reason MAME is ignoring the profile or not recognizing the keys issued via JoyToKey. 

Posted

Nope I removed button 1 via mame general input and put to nothing.  Then put button 1 as "P" key via joytokey profile, no dice.   Definitely a MAME only issue.  No mappings via joytokey are working.  I got the dinput version of 0.170 from this site.  As I said I know its working for other systems as taito type x only supports keys. 

Posted

Lol... OK load mame up outside RL and hit the p key on the keyboard... pause work?

If it doesn't work here then no wonder it doesn't work in RL/HS.

Jtk doesn't relay anything to any specific program. Just emulates key presses. If the key presses work in program, then they will work.

Sent from my SGH-I337M using Tapatalk

Posted

Even though I have the dinput version is there something I need to do in order to enable it?  The symptoms lead me to believe this is the issue as I've read without dinput enabled these keymappers wont work.

Posted

If you are using gamepads (360 ps3) then dinput is correct build. Everything else is working so that's definitly not your issue.

If the p key works then setting any button to p in jtk should work as well. Like I said, jtk sends these directly to windows as if you had just pressed that key. Same command the keyboard would send to windows!

Sent from my SGH-I337M using Tapatalk

Posted

Does p work on ur keyboard within rocket launcher? Takes joy2key out

??? No it doesn't take jtk out. All profiles are loaded by RL.

"P" might be in use by something else in RL though. Try to set mame pause to a different key.

Sent from my SGH-I337M using Tapatalk

Posted

Not sure what you are really asking.  Do you mean can I hit P in RocketLauncher within a field and will it register.  Then the answer is yes.  As stated before all other systems are working with JoyToKey setup just not MAME.  The fact that Taito Type X only supports keys and is working with my mapped buttons via JoyToKey proves that.

Posted

??? No it doesn't take jtk out. All profiles are loaded by RL.

"P" might be in use by something else in RL though. Try to set mame pause to a different key.

Sent from my SGH-I337M using Tapatalk

 

Put to Q and same results.   Also tried mapping two buttons to Tab in mame for the mame menu and no workie.

 

Also where in RL do you define keys?  Only place I know about setting up keys outside of JoyToKey for functions is Hyper HQ for Hypersin Navigation, outside of the emulator Exit key in RocketLauncher

Posted

I am really not sure what you have done. Mine works fine with "P" in mame, rl, and hs. I can set it with or without button combo no problems... "Tab" was the same. Any number of button combos, even using 1 of the same buttons... All works seemlessly here. I am at a real loss as to what is going on for you. I could possibly teamviewer in and have a look at your settings???

Posted

Ya we can try that again.  I just loaded Mame Profile via JoyToKey and then launched mame directly bypassing HS/RL and tried to issue pause via button 1 which is mapped to P in JoyToKey as a single button with no luck.  So this provies RL/HS to be out of the mix and is directly a Mame issue with JoyToKey.

Posted

The only profile in jtk itself should be "Hyperspin". How did you load the mame profile?

 

There is no issue, just configured wrong somewhere. p, tab and escape are working on the keyboard so it's just a matter of configuring correctly. Let me have a quick look around and see if I can find anything.

Posted

Understood, but I just went into Rocket Launcher, then mame on left side. Then  Keymapper>JoyToKey and selected the mame system profile and hit edit.  This opens JoyToKey mame profile.  At this point I just close Rocket Launcher and verify Mame Profile is still loaded in JoyToKey (System taskbar) and then launched mame directly bypassing hyperspin.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...