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.
 

33 lines
774 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
;
HoldRepeat_TimerPeriod:=20
; Alt + direction: automove
*!w UP::Hold("w",["w","s"])
*!s UP::Hold("s",["w","s"])
*!a UP::Hold("a",["a","d","w","s"])
*!d UP::Hold("d",["d","a","w","s"])
*!Space UP::Hold("Space",["Space","LShift"])
*!LShift Up::Hold("LShift",["LShift","Space"])
; Alt + mouse key: hold key
*!LButton UP::Hold("LButton",["LButton","RButton","MButton"])
*!RButton UP::Hold("RButton",["RButton","LButton","MButton"])
; Turbo click to break rocks when caps lock on
#HotIf GetKeyState("CapsLock","T")
*LButton::Repeat("LButton",,"LButton")