Resolved issue with keyboard hook getting removed

This commit is contained in:
PhatDave
2021-10-28 18:20:01 +02:00
parent 50204a606d
commit 8551c0c5b0
2 changed files with 9 additions and 4 deletions

View File

@@ -241,10 +241,9 @@ WhitelistButtonUI() {
}
WhitelistKeys(string) {
whitelistKeys := Array()
for k, v in StrSplit(string, "|") {
if (v != "a" and v != "s" and v != "d" and v != "w" and v != "enter" and v != "escape") {
whitelistKeys[v] := 1
}
whitelistKeys[v] := 1
}
}

View File

@@ -28,4 +28,10 @@ Will remove the next hit key from the whitelist
## 1.1.3
Windows can now be added to the echo list using `Ctrl+Alt+S` and `Ctrl+Alt+D` where S adds the **current** window and D removes the **current** window
Windows can now be added to the echo list using `Ctrl+Alt+S` and `Ctrl+Alt+D` where S adds the **current** window and D removes the **current** window
## 1.1.4
For some reason the keyboard hook sometimes gives up
Added option to re-hook keyboard on `F5`