AutoHotkey scripts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

31 lines
681 B

;
; Front Matter
;
; Include relevant libraries
#Include ../lib/Prelude.ahk
#Include ../lib/HoldRepeat.ahk
WrapperPath:="steam://rungameid/264710"
WrapperWindow:="Subnautica"
#Include ../lib/Wrapper.ahk
;
; Hotkeys
;
; Alt + direction: automove
*!w UP::Hold("w",["s"])
*!s UP::Hold("s",["w"])
*!a UP::Hold("a",["d","w","s"])
*!d UP::Hold("d",["a","w","s"])
*!Space UP::Hold("Space",["LShift"])
*!LShift Up::Hold("LShift",["Space"])
; Alt + mouse key: hold key
*!LButton UP::Hold("LButton",["RButton","MButton"])
*!RButton UP::Hold("RButton",["LButton","MButton"])
; Turbo click to break rocks when caps lock on
#HotIf GetKeyState("CapsLock","T")
*LButton::Turbo("LButton")