aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tt.layout.ahk10
1 files changed, 6 insertions, 4 deletions
diff --git a/tt.layout.ahk b/tt.layout.ahk
index 688c050..0c89e04 100644
--- a/tt.layout.ahk
+++ b/tt.layout.ahk
@@ -2,7 +2,8 @@
;; -> body
-LWin & SC029:: ; key left of 1
+^\::
+^+\::
if (GetKeyState("Shift"))
new := altlayout
else
@@ -28,9 +29,10 @@ return
layouts := { ru: DllCall("LoadKeyboardLayout", "Str", "00000419", "Int", 1)
, sv: DllCall("LoadKeyboardLayout", "Str", "0000041D", "Int", 1)
- , us: DllCall("LoadKeyboardLayout", "Str", "00000409", "Int", 1) }
-activelayouts := [layouts.sv, layouts.ru]
-altlayout := layouts.us
+ , us: DllCall("LoadKeyboardLayout", "Str", "00000409", "Int", 1)
+ , jp: DllCall("LoadKeyboardLayout", "Str", "00000411", "Int", 1) }
+activelayouts := [layouts.us, layouts.jp]
+altlayout := layouts.ru
ShowLayout()