Browse Source

fix to make dash work

master
Mar Alegre 3 years ago
parent
commit
f0efafadd8
  1. 2
      lib/HoldRepeat.ahk
  2. 18
      src/Deep Rock Galactic.ahk

2
lib/HoldRepeat.ahk

@ -62,7 +62,7 @@ Repeat(Primary, Secondary) {
; Sets key to hold if single tap, or repeat if double tap
HoldOrRepeat(Primary, Secondary) {
Send "{Blind}{" Primary " down}"
if (KeyWait Primary, "D T0.2") {
if KeyWait(Primary, "D T0.2") {
Repeat(Primary,Secondary)
} else {
Hold(Primary,Secondary)

18
src/Deep Rock Galactic.ahk

@ -43,18 +43,24 @@ RemoveTooltip() {
*F3::ToggleFullAuto(3)
*F4::ToggleFullAuto(4)
; Do full auto when caps lock is on for enabled weapons
#HotIf (GetKeyState("CapsLock","T") and FullAutoEnabled[EquipState])
*LButton::TurboOn("LButton")
*LButton UP::TurboOff("LButton")
#HotIf
; Alt + E holds E
*!e UP::Hold("e",["w","a","s","d","Space","LButton","RButton"])
; Press shift to sprint, only toggles on
*LShift::Send "{Blind}{LShift down}"
*LShift::{
Send "{Blind}{LShift down}"
if (KeyWait("LShift", "T0.1") and KeyWait("LShift", "D T0.1")) {
Send "{LShift}{LShift}"
}
}
*LShift UP::Hold("LShift",,["w"])
; Hold space rapidly jumps
*Space::TurboOn("Space")
*Space UP::TurboOff("Space")
; Do full auto when caps lock is on for enabled weapons
#HotIf (GetKeyState("CapsLock","T") and FullAutoEnabled[EquipState])
*LButton::TurboOn("LButton")
*LButton UP::TurboOff("LButton")
Loading…
Cancel
Save