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

HyperLaunch issue


azda

Recommended Posts

Posted

I have an issue when HyperLaunch is set to true that keyboard input 'Q' does not work.

I am using an x-arcade 2 player Joystick which utilises keyboard inputs and the letter Q is used as a button on the 2 player control panel.

Whenever HyperLaunch is used for an EMU this button isnt recognised unless I turn HyperLaunch off.

Hope this makes sense, any help would be appreciated.

PC-MAC_Layout_Mode1%20Cropped.JPG

This is my AHK script, I was wondering if the issue is because q is wanted by HyperLaunch but then again so is S which works on my joystick. Im stumped!


;------------------------------------------------------------------------------;
;                                 MAIN SETTINGS                                ;
;------------------------------------------------------------------------------;

;[uNIVERSAL HOTKEYS]            ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
exitScriptKey   = q & s         ;Secret hotkey(s) to exit script if needed
                               ;Not to be confused with exit emulator keys

exitEmulatorKey = ~1 & ~2           ;This key/key combo will close any emulators
                               ;that do not have normal closing methods.

toggleCursorKey = t             ;hotkey(s) to show or hide cursor if needed
                               ;when hideCursor below is true

;[MOUSE CURSOR]
hideCursor      = false         ;Automatically hide cursor during script
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;before setting this to true as a precaution.*

;[WINDOWS]
hideDesktop     = true          ;Attempts to hide desktop with black screen, might help
                               ;on some emu's for hiding launching windows.

hideTaskbar     = false         ;Hide the windows taskbar when running emu's.
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;         before setting this to true as a precaution.*

daemontools     = "C:\Program Files\DAEMON Tools Lite\daemon.exe"        ;Hide the windows taskbar when running emu's.
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;         before setting this to true as a precaution.*

/*
   *:If for some weird reason the script hangs follow these steps to get back to normal.
     1. If an emulator hangs up or cant load your game then first try to exit the emu
        by pressing your Emulator exit hotkey above.
     2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.   
     3. Next try to exit the script by pressing your Exit Script Hotkey above. This 
        will also bring back your cursor and taskbar is they are set to true.
*/

Posted

Thanks Brolly ... that did the trick.

Can you explain the issue please ... what does the '~' actually do?

Posted

"~" allows the keys to be used in other programs\emus while hyperlaunch is active.

Without it the buttons can only be used in script only.

Hyperlaunch Hijacks them and keeps them for itself.

When you play 2 player games the Q & S buttons when pushed at the same time are going to kill Hyperlaunch which will have the effect of a "crash".

So while its good to have "~" in front of your keys its better if you dont use Q & S or any other frequently used keys that are on the Xarcade.

I use

exitscriptkey= ~m & ~n

toggglecursorkey= ~t

but other keys will work too

Posted

Thanks for the info!

I will ammend to the same as you as Q & S are very close to one another on the X-Arcade!

Thanks again!

  • 1 month later...
Posted

Is it possible to use two different buttons for the "exitemulatorkey" funktion? (so or- instead and-funktion)

I´ve tried a trick to use a key from controller 1 or a key from controller 2 but it doesn´t work:dontknow::

exitEmulatorKey = +

Hotkey, $joy9, Exitemulator1

Hotkey, $2joy9, Exitemulator2

Exitemulator1:

Send, {+}

Return

Exitemulator2:

Send, {+}

Return

Posted

Somthing like this?:

Hotkey, $joy9, Exitemulator1

Hotkey, $2joy9, Exitemulator1

Exitemulator1:

Send, {+}

Return

and\or for "Exitemulator:"

(should only need one of these lines below "Exitemulator:")

Exitemulator1:

process, close, %executable%

process, close, "actual window name on the taskbar"

winclose, %executable%

winclose, "actual window name on the taskbar"

send, {the}{keys}{that}{close}{the}{emulator} ;i.e. {lalt}{f4} or {esc}

Return

  • 3 years later...
Posted
I have an issue when HyperLaunch is set to true that keyboard input 'Q' does not work.

I am using an x-arcade 2 player Joystick which utilises keyboard inputs and the letter Q is used as a button on the 2 player control panel.

Whenever HyperLaunch is used for an EMU this button isnt recognised unless I turn HyperLaunch off.

Hope this makes sense, any help would be appreciated.

PC-MAC_Layout_Mode1%20Cropped.JPG

This is my AHK script, I was wondering if the issue is because q is wanted by HyperLaunch but then again so is S which works on my joystick. Im stumped!


;------------------------------------------------------------------------------;
;                                 MAIN SETTINGS                                ;
;------------------------------------------------------------------------------;

;[uNIVERSAL HOTKEYS]            ;SEPERATE MULTIPLE KEYS WITH &(ampersand) up to 2 keys.
exitScriptKey   = q & s         ;Secret hotkey(s) to exit script if needed
                               ;Not to be confused with exit emulator keys

exitEmulatorKey = ~1 & ~2           ;This key/key combo will close any emulators
                               ;that do not have normal closing methods.

toggleCursorKey = t             ;hotkey(s) to show or hide cursor if needed
                               ;when hideCursor below is true

;[MOUSE CURSOR]
hideCursor      = false         ;Automatically hide cursor during script
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;before setting this to true as a precaution.*

;[WINDOWS]
hideDesktop     = true          ;Attempts to hide desktop with black screen, might help
                               ;on some emu's for hiding launching windows.

hideTaskbar     = false         ;Hide the windows taskbar when running emu's.
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;         before setting this to true as a precaution.*

daemontools     = "C:\Program Files\DAEMON Tools Lite\daemon.exe"        ;Hide the windows taskbar when running emu's.
                               ;WARNING: Make sure ALL your emu's are running fine
                               ;         before setting this to true as a precaution.*

/*
   *:If for some weird reason the script hangs follow these steps to get back to normal.
     1. If an emulator hangs up or cant load your game then first try to exit the emu
        by pressing your Emulator exit hotkey above.
     2. If your emu exited but your mouse cursor is gone use your cursor toggle hotkey.   
     3. Next try to exit the script by pressing your Exit Script Hotkey above. This 
        will also bring back your cursor and taskbar is they are set to true.
*/

Ok so i have the issue with th 5 not working and what not and i kinda felt like what you guys said about all this, for me, was like the teacher on charly brown. Im completly lost, i got that i need to add a ~ somewhere but what directory is the file? do i use notepad? ( i have edited .ini and .config files before) but no clue about this AHK. can someone point me to a AHK for dummies tutorial like step 1 open file @ c:\hyperspin\thisfolder\hereisfile.AHK etc so i can get my stick set up properly?

at first i thought it was broke and opened it up to see if wire was disconnected, then found the test app and it works fine . so any help would be appeciated.

Archived

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

×
×
  • Create New...