Jump to content
LaunchBox Community Forums

Recommended Posts

Posted

Trying to get AutoHotKey to remap some keys for Streets of Rage Remake and having no luck.  Anyone here an expert on AHK?

I'm a noob at AHK, not sure the difference between AHK_class or AHK_exe, tried both neither work.  

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

#SingleInstance force

run,SorR.exe
#IfWinActive AHK_class "Streets of rage Remake" ;

Shift::X
W::J
Z::C
I::K
X::V
K::L
LCtrl::A
A::I
LAlt::S
S::O
Space::D
Q::P
C::B
J::H
 

Posted

Tried that but still no go.  Something strange goes on with sorr.exe where it opens a console window as well which may be confusing AHK?  I had a similar issue with another game requiring administrative rights.  Once I disabled admin rights on that game it worked fine.

Posted

? ok... turns out that the script is ... case sensitive haha ... well obviously.  It was remapping the keys that were control keys but not letter keys.  Changed all to lowercase and it works now.

  • Game On 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...