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.
 

25 lines
482 B

;
; Front Matter
;
; Include relevant libraries
#Include ../lib/Prelude.ahk
#Include ../lib/HoldRepeat.ahk
;
; Hotkeys
;
; Hold/Autoclick mouse buttons
; Holds if single click, autoclicks if double click
*!LButton UP::HoldOrRepeat("LButton")
*!RButton UP::HoldOrRepeat("RButton")
; Hold/Repeat spacebar
*!Space UP::HoldOrRepeat("Space")
; Autorun
*!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"])