aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.keyboard.ahk6
-rw-r--r--tt.programs.ahk7
2 files changed, 6 insertions, 7 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
diff --git a/tt.programs.ahk b/tt.programs.ahk
index dd751c7..7386e2f 100644
--- a/tt.programs.ahk
+++ b/tt.programs.ahk
@@ -124,8 +124,6 @@ Numpad0:: ; crop to 4:3
SendInput, {Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}{Numpad9}
return
-#IfWinActive
-
#IfWinActive ahk_class Photoshop
MButton::
@@ -134,10 +132,5 @@ KeyWait, MButton
SendInput, {Space Up}{LButton Up}
return
-#If WinActive("ahk_class PuTTY") and Layout() = layouts.sv ; see tt.layout.ahk
-+SC00D::SendInput, ``{Space}
-+SC01B::SendInput, {^}{Space}
-<^>!SC01B::SendInput, ~{Space}
-#If
#IfWinActive