Jump to content
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Hyperspin Key Codes (settings config)


billpa

Recommended Posts

Posted

I've seen a few threads recently asking about key codes for HS settings config file. HS uses Flash ActionScript Key Codes. Here is a table that helps out.

Click here for table.

Just locate the key you want to use in the middle (string) column and it's corresponding code in the right hand column (disregard left Ascii column). Go into settings config and change the code for whatever control you want to reassign.

For example:

HS, by default, uses the Enter key to launch emulators and games. If you open up settings config you will find it under

[Main Controls]

Start = 13

13 is the code for the Enter key. Let's say you want to change it to the more conventional 1 key (1P start in MAME). Just find the 1 key in the middle column of the table. As you can see, the code for the 1 key is 49. Go to settings config and make the following change

[Main Controls]

Start = 49

Now all start commands are mapped to the 1 key.

HTH,

billpa

Posted

I don't have any admin buttons on my control panel, so I've been using shift to take care of most of my utility functions (volume, enter, exit, etc.). However, with action script, the codes for a keycode with shift and without are identical. Is there any way to assign a key press to exit without forever banishing that button's use?

Posted
You could do multiple keys if you want, up to 3 keys, comma delimated, like p1 start, p2start, and some other key all at the same time, like this

49,50,79

Excellent. Even better than just using shift. Thanks a ton.

Posted
You could do multiple keys if you want, up to 3 keys, comma delimated, like p1 start, p2start, and some other key all at the same time, like this

49,50,79

Does this mean it will require all three keys pressed at once or does it mean any of the three keys will work?

Thanks,

Wob

  • 2 weeks later...
Posted
I don't have any admin buttons on my control panel, so I've been using shift to take care of most of my utility functions (volume, enter, exit, etc.). However, with action script, the codes for a keycode with shift and without are identical. Is there any way to assign a key press to exit without forever banishing that button's use?

Vash,

Keep in mind, if you are using an IPac as your keyboard encoder, the "shift" button (probably Player 1 Start?) does not register a keypress until you either release the button (in which case it registers the number "1") or press a second button to register its shifted keycode. So you should not need to worry about it, just hit Player 1 Start and Player 2 Start (if you are using the default IPac key assignments) and you will send the keycode for "ESC". Set Hyperspin to exit with "ESC" and you should be fine. That multiple button jazz will just mess you up, especially if you are playing 2-player Street Fighter and using all the buttons on the control panel in a game.

If you are using a KeyWiz, I'm not sure if the above applies to the "Shazaam" function or whatever it's called.

-EVEGames

Posted

HS Devs, is there any way to assign the Exit key to be held down for a number of seconds before it exits the game? I know a few other FE's do this and would be great for my CAB and anyone else who has a dedicated ESC button on their panel. Thanks.

  • 2 months later...
Posted
You could do multiple keys if you want, up to 3 keys, comma delimated, like p1 start, p2start, and some other key all at the same time, like this

49,50,79

For some reason, this doesn't work for me. Defining a single key works okay, but 2 or 3 doesn't.

Posted
That would be ! @ K

49,50,79

Kinda weird combo of keys there

Sorry for the confusion -- I'm not trying that exact combo. I'm trying *any* combo of three keys, and they're not working. I'm testing using ipac and using a real keyboard. Just to clear things up, does assigning multiple keys to a function means that you can press EITHER of those keys, or does it mean that you have to press ALL (simultaneously)? I'm assuming the former.

Another similar but probably unrelated issue is that I've recently noticed that if I launch mame from hyperspin (w/hyperlaunch), it won't recognize the Q key. Something is eating it before mame gets it. If I run mame but itself, Q works great.

Posted
For MAME there should be no reason to use HyperLaunch.

I'll nuke it, then. Is it the guy who's eating my Q's??? Is that configurable?

Thanks!

Posted

By default in HyperLaunch Q & S are default to kill the script, it can be changed in the ahk file and recompiled to a new exe. Just edit it in wordpad or something, download autohotkey, install it, then right click the ahk file and click compile when your done making changes.

  • 4 weeks later...
Posted
Sorry for the confusion -- I'm not trying that exact combo. I'm trying *any* combo of three keys, and they're not working. I'm testing using ipac and using a real keyboard. Just to clear things up, does assigning multiple keys to a function means that you can press EITHER of those keys, or does it mean that you have to press ALL (simultaneously)? I'm assuming the former.

I want to know the same thing, is the comma delimiter AND or OR?

Doesn't seem to do either for me, does not work.

  • 11 months later...
Posted

Sorry if this is a dumb question.....

How do I tell how my control panel is mapped? Is there a settings file somewhere that lists this? Say if I want to make the p1 button start a game, i would change my settings file to start a game with code 49. I guess I don't know my control panel equivalent to keyboard key "1". All my admin buttons work correctly when i'm in a game, but I edited those right in MAME by editing input general. When I edited it in MAME, it has the player one start button listed as Joy 1 Button 6.

Thanks in advance.

  • 2 months later...
Posted
By default in HyperLaunch Q & S are default to kill the script, it can be changed in the ahk file and recompiled to a new exe. Just edit it in wordpad or something, download autohotkey, install it, then right click the ahk file and click compile when your done making changes.

I love using forum search! I was getting ready to post about an issue I was having when playing 2 player NFL Blitz in P64. Turns out 2nd player has 2 buttons mapped one as Q and one as S. So I will just change my config or change the ahk as you suggested. Thanks for this info. I have just about got everything working perfectly now on my cab. Thanks again!

  • 4 months later...
Posted

hello fellas. A question here on mapping the "Alt" button. In particular the L. Alt button. Flash code list shows alt as 18. I have set that in the settings .ini to no avail. I simply cannot get it to function in the f.e. In mame it works just fine(its set as player 1 button 2; same as in the winipac config). So i am at a loss here and would like to know how to get this going. Thanks.

Posted

ok ill ask it another way. If i map another key other than alt, it will not interfere with mame once inside mame correct? In other words once inside mame i wont lose function of button 2, the change only occurs once the focus is on the f.e.?

Archived

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

×
×
  • Create New...