Last active
October 1, 2022 03:31
-
-
Save mageddo/226277f1db8521c92795a47d877dcfc5 to your computer and use it in GitHub Desktop.
Resident Evil 4: Activate LMB + RMB on keyboard instead
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; auto hot keys version = 1.1.34.04 | |
; sends a and d + lmb + rmb | |
; author: @mageddo | |
; release date: 2020-04-05 | |
; updated at: 2022-09-30 | |
; version: v1.1 | |
#UseHook | |
#MaxHotkeysPerInterval 200 ;example from Help file | |
#IfWinActive, ahk_exe bio4.exe | |
CoordMode, Mouse, Screen | |
~*RAlt:: | |
global Chat | |
Chat := not Chat | |
return | |
; Trigger LMB + RMB | |
; ~j & k:: ; k e k ao mesmo tempo | |
~c:: | |
SetKeyDelay -1 | |
global Chat | |
if(!Chat) | |
{ | |
Send {Blind}{Click down}{Click down right} | |
Send {Blind}{a down}{d down} | |
} | |
return | |
; Release LMB + RMB | |
*~c up:: | |
SetKeyDelay -1 | |
global Chat | |
if(!Chat) | |
{ | |
Send {Blind}{Click up}{Click up right} | |
Send {Blind}{a up}{d up} | |
} | |
return | |
; todas as dodges enquanto apertado | |
~p:: | |
global Chat | |
if(!Chat) | |
{ | |
Loop | |
{ | |
If !GetKeyState("o") | |
Break | |
Send {Blind}{Click down}{Click down right} | |
Send {Blind}{a down}{d down} | |
sleep 100 | |
Send {Blind}{Click up}{Click up right} | |
Send {Blind}{a up}{d up} | |
sleep 50 | |
} | |
} | |
return | |
; correr ou subir | |
~o:: | |
global Chat | |
if(!Chat) | |
{ | |
Loop | |
{ | |
If !GetKeyState("o") | |
Break | |
Send {a down} | |
sleep 30 | |
Send {a up} | |
sleep 50 | |
} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment