summaryrefslogtreecommitdiffstats
path: root/windows/autohotkey/Source/Methods-Other.ahk
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-12 00:03:21 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-12 00:03:21 +0000
commit15b42908ddc1634edb485e449fa77e7ed2a8169c (patch)
tree68c589015ebda06fbaf255d49b7c5484567642e0 /windows/autohotkey/Source/Methods-Other.ahk
parent1e1c6440cb351a263e1b47f1a59974f0f801b8cf (diff)
Zerschossene Lang-s-Tastatur wiederhergestellt
Esc(4) setzt Tastatur zurück Variablen Ebene7 und Ebene8 zum Abfragen eingeführt #(2L)-Bug behoben Korrektur gelesen git-svn-id: https://svn.neo-layout.org@746 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/autohotkey/Source/Methods-Other.ahk')
-rw-r--r--windows/autohotkey/Source/Methods-Other.ahk41
1 files changed, 9 insertions, 32 deletions
diff --git a/windows/autohotkey/Source/Methods-Other.ahk b/windows/autohotkey/Source/Methods-Other.ahk
index 86983c6..e80d2e4 100644
--- a/windows/autohotkey/Source/Methods-Other.ahk
+++ b/windows/autohotkey/Source/Methods-Other.ahk
@@ -1,7 +1,5 @@
/*
- ------------------------------------------------------
- Funktionen
- ------------------------------------------------------
+ Funktionen
*/
/*
@@ -19,6 +17,8 @@ EbeneAktualisieren()
DeadKey := ""
CompKey := ""
Ebene12 := 0
+ Ebene7 := 0
+ Ebene8 := 0
Modstate := IsShiftPressed() . IsMod3Pressed() . IsMod4Pressed()
if (ahkTreiberKombi)
@@ -40,9 +40,15 @@ EbeneAktualisieren()
else if (Modstate = "011")
Ebene = 6 ; Ebene 6: Mod3+Mod4
else if (Modstate = "101")
+ {
Ebene = 4 ; Ebene 7: Shift+Mod4 impliziert Ebene 4
+ Ebene7 = 1
+ }
else if (Modstate = "111")
+ {
Ebene = 6 ; Ebene 8: Shift+Mod3+Mod4 impliziert Ebene 6
+ Ebene8 = 1
+ }
Ebene12 := ((Ebene = 1) or (Ebene = 2))
@@ -53,7 +59,6 @@ EbeneAktualisieren()
}
-
IsShiftPressed()
{
return GetKeyState("Shift","P")
@@ -149,8 +154,6 @@ EncodeInteger(ref, val)
DllCall("ntdll\RtlFillMemoryUlong", "Uint", ref, "Uint", 4, "Uint", val)
}
-DeadSilence = 0
-
deadAsc(val)
{
global
@@ -256,8 +259,6 @@ CheckDeadUni12(d,val1,val2)
return 0
}
-DeadCompose = 0
-
compAsc(val)
{
global
@@ -417,28 +418,4 @@ outputChar(val1,val2)
CompKey := c
}
-;Tote/Untote Tasten
-*F9::
- if (isMod4pressed())
- DeadSilence := not(DeadSilence)
- else
- send {blind}{F9}
-return
-
-;Tote/Untote Compose
-*F10::
- if (isMod4pressed())
- DeadCompose := not(DeadCompose)
- else
- send {blind}{F10}
-return
-
-;Lang-s-Tastatur:
-*F11::
- if (isMod4pressed())
- LangSTastatur := not(LangSTastatur) ; schaltet die Lang-s-Tastatur ein und aus
- else
- send {blind}{F11}
-return
-