azda Posted April 30, 2011 Posted April 30, 2011 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. 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. */
brolly Posted April 30, 2011 Posted April 30, 2011 Replace exitScriptKey = q & s by exitScriptKey = ~q & ~s And see if it solves the problem.
azda Posted April 30, 2011 Author Posted April 30, 2011 Thanks Brolly ... that did the trick. Can you explain the issue please ... what does the '~' actually do?
chillinwater Posted April 30, 2011 Posted April 30, 2011 "~" 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 Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me! https://hyperspin-fe.com/forums/topic/259-setting-up-un-official-systems-with-hyperspin/?do=findComment&comment=31034
azda Posted April 30, 2011 Author Posted April 30, 2011 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!
Hottexx Posted June 17, 2011 Posted June 17, 2011 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
chillinwater Posted June 18, 2011 Posted June 18, 2011 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 Game\Theme\Favorites\Genre - List Creation * FatMatch File Renaming for HyperNewbies. Like Me! https://hyperspin-fe.com/forums/topic/259-setting-up-un-official-systems-with-hyperspin/?do=findComment&comment=31034
farqual Posted December 14, 2014 Posted December 14, 2014 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. 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.
Turranius Posted December 17, 2014 Posted December 17, 2014 Nowadays, you set your exit key in HyperLaunchHQ GLOBAL / Controls / Exit Script Key Mame related stuff: FTP: grandis.nu, port 21, user:misc, pass:misc http://grandis.nu/software Tur-Matcher - Match your roms/media/XML files. Another Idle Volume Adjuster - Automatically control the volume. How to: Use MAME Extras as material for HyperPause How to: Use eXoDOS 2.0 as material for HyperPause
Recommended Posts
Archived
This topic is now archived and is closed to further replies.