Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Shun on April 20, 2010, 08:33:48 pm

Title: Keyboard mapping issues with PC games. AutoHotKey the solution?
Post by: Shun on April 20, 2010, 08:33:48 pm
I was wondering if someone could help me. I've got Sega Rally Revo and Outrun Coast 2 Coast running on my cab. However I can't seem to configure the keyboard for either game. Sega Rally Revo has greyed out the keyboard section of the config program so I can't change anything. I can change the keys on Outrun but it doesn't allow me to get to the games menu (escape by default i think), and also when i quit the game and go back in the keys have gone back to default  :angry:.

The default keys work for for both games and i was wondering if AutoHotKey could be used to substitute my button keys for the default in each game. I'm not sure how i would go about writing the script for this though  :-\

Also i am running maximus arcade and when i quit Sega Rally Revo by holding down END (this is my quit button for all emulators) the screen goes blank and i can here that maximus is running but i think Sega Rally is still running. I have to CTRL ALT Delete to shut the process down manually to quit it. I had the same problem with Street Fighter IV but since I used the script to bypass the launcher screen (see below) it seems to quit fine (i changed the ESC to and END and it worked!) So perhaps i could use some of the script below to help me quit Sega Rally, but i'm not sure how. I've tried a few times but it doesn't seem to work. Can anyone experienced with AHK help me out?  :angel:


#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
Blockinput on
SetBatchLines -1
Gui +AlwaysOnTop -Caption +ToolWindow
Gui Color, 0
Gui Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Run, SF4Launcher.exe, , Max
WinWait, STREET FIGHTER IV LAUNCHER
IfWinNotActive, STREET FIGHTER IV LAUNCHER
WinWaitActive, STREET FIGHTER IV LAUNCHER
Send, {enter}
Blockinput off
Process, WaitClose, StreetFighterIV.exe
return
ESC::
Process, Close, StreetFighterIV.exe
ExitAPP
return

Title: Re: Keyboard mapping issues with PC games. AutoHotKey the solution?
Post by: mh12 on April 21, 2010, 06:32:01 pm
i use AHK for lots of games with hard-mapped keys.

Quote
z::w
return
x::n
return

that would make z send a w and x send an n.

i run Outrun C2C as well. my cab doesn't have any analog control, so i play it with a gamepad (cab has my biggest screen). have you tried to play it with the keyboard or anything digital? not very smooth!