Browse Source

updated timings

ahk-v1
Mar Alegre 3 years ago
parent
commit
2d35999c8e
  1. 9
      lib/HoldRepeat.ahk
  2. 3
      src/Deep Rock Galactic.ahk

9
lib/HoldRepeat.ahk

@ -35,11 +35,12 @@ Repeat(Primary, Secondary) {
return
}
}
if (RepeatVar == 2) {
SendEvent, {%Primary%}
RepeatVar := 1
if (RepeatVar == 1) {
SendEvent, {%Primary% down}
RepeatVar := 0
} else {
RepeatVar++
SendEvent, {%Primary% up}
RepeatVar := 1
}
Sleep 50
}

3
src/Deep Rock Galactic.ahk

@ -22,6 +22,7 @@ WrapperWindow:="Deep Rock Galactic "
~*LButton::
While GetKeyState("LButton","P") {
SendInput, {LButton down}
Sleep 20
Sleep 50
}
SendInput, {LButton up}
Return
Loading…
Cancel
Save