aboutsummaryrefslogtreecommitdiff
path: root/tt.keyboard.ahk
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-30 23:42:15 +0100
committerJohn Ankarström <john@ankarstrom.se>2021-01-30 23:42:15 +0100
commit494d3f500d234f1b6b635bbff693e8025422b6b5 (patch)
tree74239e6bcc2fdab72fd4e1d40693605807cfc05b /tt.keyboard.ahk
parent6a07c5a3a481c7d77e199a15a8afd5d6129e6114 (diff)
downloadahk-494d3f500d234f1b6b635bbff693e8025422b6b5.tar.gz
keyboard: Disable SE dead keys when Num Lock is active
Diffstat (limited to 'tt.keyboard.ahk')
-rw-r--r--tt.keyboard.ahk6
1 files changed, 6 insertions, 0 deletions
diff --git a/tt.keyboard.ahk b/tt.keyboard.ahk
index dea17ca..d4fc0b0 100644
--- a/tt.keyboard.ahk
+++ b/tt.keyboard.ahk
@@ -7,6 +7,12 @@
>!s::SendInput, {ASC 0223} ; ß
<^>!s::SendInput, {ASC 0223}
+#If Layout() = layouts.sv && GetKeyState("NumLock", "T") ; see tt.layout.ahk
++SC00D::SendInput, ``{Space}
++SC01B::SendInput, {^}{Space}
+<^>!SC01B::SendInput, ~{Space}
+#If
+
;; ANSI keyboard mappings -----------------------------------------------------
#If Layout() = layouts.us ; see tt.layout.ahk