billpa Posted August 20, 2008 Posted August 20, 2008 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 ------------------------------------ *Click here for HyperSpin and HyperPin logos* *My Photoshop Tutorials* *Join The Theme Creators Club* *Buy HyperSpin Merchandise*
Vash Posted August 27, 2008 Posted August 27, 2008 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?
BadBoyBill Posted August 27, 2008 Posted August 27, 2008 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
Vash Posted August 27, 2008 Posted August 27, 2008 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 this49,50,79 Excellent. Even better than just using shift. Thanks a ton.
Wob Posted August 27, 2008 Posted August 27, 2008 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 this49,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
beatfreakinbadger Posted September 7, 2008 Posted September 7, 2008 ta for that......... was just going to ask lol
Visitor Q Posted September 8, 2008 Posted September 8, 2008 What is the default for exiting a emulator and where is it located?
EVEGames Posted September 8, 2008 Posted September 8, 2008 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
Visitor Q Posted September 8, 2008 Posted September 8, 2008 As some else stated, not everyone has admin buttons to assign an esc. keystroke.
urbecrisch Posted September 10, 2008 Posted September 10, 2008 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.
billpa Posted September 14, 2008 Author Posted September 14, 2008 Dont think its possible currently but worth asking for in the HS Feature Requests forum if you really need it. ------------------------------------ *Click here for HyperSpin and HyperPin logos* *My Photoshop Tutorials* *Join The Theme Creators Club* *Buy HyperSpin Merchandise*
Banacek Posted September 19, 2008 Posted September 19, 2008 Quick question: will the normal # or /* */ work if we want to leave comments in the ini file?
glonq Posted December 12, 2008 Posted December 12, 2008 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 this49,50,79 For some reason, this doesn't work for me. Defining a single key works okay, but 2 or 3 doesn't.
BadBoyBill Posted December 12, 2008 Posted December 12, 2008 That would be ! @ K 49,50,79 Kinda weird combo of keys there
glonq Posted December 13, 2008 Posted December 13, 2008 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.
Dazz Posted December 13, 2008 Posted December 13, 2008 For MAME there should be no reason to use HyperLaunch.
glonq Posted December 13, 2008 Posted December 13, 2008 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!
BadBoyBill Posted December 13, 2008 Posted December 13, 2008 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.
JeremyXgaming Posted January 6, 2009 Posted January 6, 2009 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.
kwyjibo40 Posted December 16, 2009 Posted December 16, 2009 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.
Umpa Posted March 3, 2010 Posted March 3, 2010 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!
NIVO Posted July 4, 2010 Posted July 4, 2010 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. moderator B.Y.O.A.C. http://www.arcadecontrols.com
NIVO Posted July 7, 2010 Posted July 7, 2010 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.? moderator B.Y.O.A.C. http://www.arcadecontrols.com
BadBoyBill Posted July 7, 2010 Posted July 7, 2010 If you can set it in HyperHQ, then you should be able to use it in HS.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.