XHotkey

From RocketLauncher Wiki
Revision as of 19:59, 10 June 2015 by Kevinlives (talk | contribs)
Jump to navigation Jump to search


HyperLaunch allows you to use a lot of different keys combinations for any of its functions.


No more need for many buttons for accessing any HyperLaunch features.
You can assign the same arcade button to exit your emulators if you do a single button press, go to HyperPause if held for a few seconds and go to the Multigame menu if you execute a double click.


No more limitations about gamepads that don't have a exit emulator button.
You can assign two gamepad buttons to exit the emulators when pressed simultaneously. If you like pressing more buttons you can even use three, four, five... simultaneously pressed buttons for doing any HyperLaunch function.




Warning: Keep in mind that simpler is always better.
You will see bellow that HyperLaunch supports a lot of different possibilities to configure your keys, buttons and joystick behavior. However, you should keep these options to a minimal always as possible to have a better experience and faster response times when executing different commands.




Features:


Support for multiple keys:


  • You can set to exit the emulator only when Q+W+E keys are pressed at the same time on your keyboard or arcade control. You just need to set:
  • Exit_Emulator_Key=~Q& ~W & ~E
  • There is no limitation in the amount of keys that needs to be pressed at the same time for exiting the emu or executing any other function. You can use one, two three, four or any amount of buttons at the same time to execute any HyperLaunch or HyperPause function. You just need to use the "&" symbol to represent that the keys should be pressed simultaneously.


Support for multiple joystick buttons:


  • You can also set multiple joypads buttons to execute any function. For example, I want HyperLaunch to quit the emulator when I press the joy 1 and the joy 2 button simultaneously. You juts need to configure the exit emulator key as shown bellow:
  • Exit_Emulator_Key=~Joy1 & ~Joy2
  • To find out which joystick buttons correspond to your joystick read this page and use this autohotkey test script.


Support for multiple key assignments in the same label:


  • But what if I want to set the exit emulator to work with both joystick, Keyboard and arcade buttons?
  • You can do it also in HyperLaunch. You can set different group of keys to execute the same function.
  • Example: Exit_Emulator_Key= ~Esc | ~Q& ~W & ~E | ~Joy1 & ~Joy2
  • Again there is no limitation on the number of different key and joy groups that you can use at the same HyperLaunch or HyperPause function. You just need to remember to separate the different key groups with the "|" symbol.


Support for different keys behavior according different press modes:


  • You can use the same keyboard key, arcade button or joystick button for different functions according the mode that you press the button.
  • You can take advantage of different Single click, Double click, Three or more clicks and Hold Button specific behavior.
  • For example:
  • I want to exit the emulator if I execute a single press at the ESC button, but I want to go to the HyperPause menu if I hold the Esc key for 3 seconds, and I want to go to the Multigame menu whenever i make two or more fast presses of the Esc key. If you want to set this all at the same time you just need to set the corresponding ini keys like that:
  • Exit_Emulator_Key = ~Esc
  • HyperPause_Key = H3000:~Esc
  • MultiGame_Key = D:~Esc | T:~Esc or MultiGame_Key = D:T:~Esc




Definitions


  • "&" : Symbol that means simultaneous press of the keys.
  • "|" : Symbol used to divide and define different key groups.
  • "S:" or nothing : Symbol to define that the current Key group reflects a single key press mode.
  • "H:" : Symbol to define that the current key group reflects a hold button press mode. This means that HyperLaunch will only execute this function if the Keys defined after the "H:" are held by one second.
  • By default the HyperLaunch hold wait time is one second. If you want to change this time to any other number of milliseconds you just need to add the number of milliseconds just after the "H" letter.
  • Ex: HyperPause_Key = H3000: ~Esc
  • HyperLaunch will only open HyperPause if you hold the Esc key for three seconds.
  • Don't forget the ":" after the H option !!!


  • "D:" : Symbol to define that the current key group reflects a double key press mode. This means that HyperLaunch will only execute this function if the Keys defined after the "D:" are pressed twice in a small period of time.
  • By default HyperLaunch will wait 400 milliseconds between the first and second press to confirm that the key was pressed once or twice. If you think that there is not enough time for doing the double button press you can increase the second press wait time by setting a different number of milliseconds after the "D" option.
  • Ex: HyperPause_Key = D600:~Esc
  • Hyperpause will only open if the Esc key is pressed twice within a maximum time between presses of 600 milliseconds.
  • Don't forget the ":" after the D option !!!


  • "T:" : Symbol to define that the current key group reflects three or more presses mode. This means that HyperLaunch will only execute this function if the Keys defined after the "T:" are pressed tthrre or more times in a small period of time.
  • By default HyperLaunch will wait 400 milliseconds between the multiple presses to confirm the number of presses executed. If you think that there is not enough time for doing the multiple button presses you can increase the wait time by setting a different number of milliseconds after the "T" option.
  • Ex: HyperPause_Key = T600:~Esc
  • Hyperpause will only open if the Esc key is pressed three or more times within a maximum time of 600 milliseconds.
  • Don't forget the ":" after the T option !!!