aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.keyboard.ahk33
1 files changed, 29 insertions, 4 deletions
diff --git a/tt.keyboard.ahk b/tt.keyboard.ahk
index 82d0469..599f328 100644
--- a/tt.keyboard.ahk
+++ b/tt.keyboard.ahk
@@ -7,7 +7,7 @@
>!s::SendInput, {ASC 0223} ; ß
<^>!s::SendInput, {ASC 0223}
-#If Layout() = layouts.sv && GetKeyState("NumLock", "T") ; see tt.layout.ahk
+#If Layout() = layouts.sv && GetKeyState("NumLock", "T") && !WinActive("ahk_exe VirtualBoxVM.exe")
+SC00D::SendInput, ``{Space}
+SC01B::SendInput, {^}{Space}
<^>!SC01B::SendInput, ~{Space}
@@ -27,9 +27,26 @@
;; ANSI keyboard mappings -----------------------------------------------------
-/*
-#If Layout() = layouts.us ; see tt.layout.ahk
+#If Layout() = layouts.us && !WinActive("ahk_exe VirtualBoxVM.exe") ; see tt.layout.ahk
+
+>!a::SendInput, a
+>!e::SendInput, e
+>!+a::SendInput, A
+>!+e::SendInput, E
+
+:z*?:aa::å
+:z*?:ae::ä
+:z*?:oe::ö
+:z*?:AA::Å
+:z*?:AE::Ä
+:z*?:OE::Ö
+
+:z*?:a``::à
+:z*?:e``::é
+:z*?:A``::À
+:z*?:E``::É
+/*
SC01A::å
SC01B::ä
SC02B::ö
@@ -52,9 +69,9 @@ SC02B::ö
>!+e::SendInput, {ASC 0201} ; É
>!4::SendInput, {ASC 0164} ; ¤
>!+4::SendInput, {ASC 0128} ; €
+*/
#If
-*/
;; Acer 6312-K mappings -------------------------------------------------------
@@ -104,6 +121,14 @@ Modifiers() {
#i Up::SendInput, {PgUp up}
*#o::SendInput, % Modifiers() "{End down}"
#o Up::SendInput, {End up}
+
+#n::
+SendInput, {NumLock}
+if (!GetKeyState("NumLock", "T"))
+ ToolTip, NumLock disabled
+Sleep, 500
+ToolTip
+return
*/
;; -> init