Main > Software Forum
AHK fun!
ZeroPoint:
Just wondering if anyone knows how to emulate an analog joystick with the mouse (using the mouse for steering etc.) ?
Can AHK do this or does anyone know of a solution for this ?
mumbles:
Hi,
i have the follwing sega light gun games Virtua Squad (Pause key + f3, exit + alt f4), Virtua Cop 2 (Pause = f3, exit = alt+f4), House of The Dead (pause = p, exit = alt+f4), House Of The Dead 2 (Pause = enter, exit = escape), House of the dead 3 (pause = enter, exit = alt+f4). Now i run all thse games under mamewah andon my control panel puase=p and exit = escape so i want to be able to remap the keys to reflect that and then after i exit each individual games p stills eguals pand esc still equls escape. Now i think autohotkey can do this but waht script do i need and where in my batch files do i enter it. to run the above games i do the follwing
*** Virtua Cop batch ***
@ECHO OFF
D:
CD BATCH
Virtua Cop.BRS
**** Virtua Cop.brs ***
d:\prorgam files\vc.exe
So where do i enter a autohotkeyscript to do what iwant and what should it say??
thanks in advance
Howard_Casto:
Your solution is much easier than you think.
In your function that translates the escape key to alt+f4 you want to also put an "exitapp" call in there so that it kills the script as well.
Actually I shouldn't even have to be telling you this, if you'll look at my example in this very thread it has the escape sequence setup that way.
mumbles:
thanks very much 4 yr help. i now have the escape problem solved. I have also done a script to make pause (which is f3 in Virtua Cop 2) to be "p" which is the key configured on my cab. Now the only problem is if I put endapp in it you can only press p once to pause it and then can't unpause it. if you don't put endapp in there the script is still running when I exit the game. Does this mean that "p" would still be remapped to f3?? if so hwo can I get the script to terminate when the game exits??
here is the script I have made
P::
Send {F3 down}
Send {F3 up}
Thanks in advance
chemame:
Cool, I've been looking for something like this.
question: wouldn't this work for electricd and his Tiger Woods 2006 problem? If I remember correctly, TW would run on his system, but he couldn't see the menu due to a resolution problem. Could he possibly script the menu navigation? I know it might get messy, but is it possible?
Chemame
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version