summaryrefslogtreecommitdiff
path: root/windows/autohotkey/Source/Methods-Layers.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'windows/autohotkey/Source/Methods-Layers.ahk')
-rw-r--r--windows/autohotkey/Source/Methods-Layers.ahk16
1 files changed, 9 insertions, 7 deletions
diff --git a/windows/autohotkey/Source/Methods-Layers.ahk b/windows/autohotkey/Source/Methods-Layers.ahk
index b88724b..e2d4bb7 100644
--- a/windows/autohotkey/Source/Methods-Layers.ahk
+++ b/windows/autohotkey/Source/Methods-Layers.ahk
@@ -39,22 +39,24 @@ IsMod4Locked := 0
< & *SC138::
if (IsMod4Locked)
{
-; MsgBox Mod4-Feststellung aufgebehoben
+ MsgBox Mod4-Feststellung aufgebehoben
IsMod4Locked = 0
- if (UseMod4Light==1) {
+ if (UseMod4Light==1)
+ {
KeyboardLED(1,"off")
}
}
else
{
-; MsgBox Mod4 festgestellt: Um Mod4 wieder zu lösen drücke beide Mod4 Tasten gleichzeitig
+ MsgBox Mod4 festgestellt: Um Mod4 wieder zu lösen drücke beide Mod4 Tasten gleichzeitig
IsMod4Locked = 1
- if (UseMod4Light==1) {
+ if (UseMod4Light==1)
+ {
KeyboardLED(1,"on")
}
-
}
return
+
*SC138::
altGrPressed := 1
return ; Damit AltGr nicht extra etwas schickt und als stiller Modifier geht.
@@ -62,7 +64,7 @@ return ; Damit AltGr nicht extra etwas schickt und als stiller Modifier geht.
altGrPressed := 0
return
-/* ; das folgende wird seltsamerweise nicht gebraucht :) oder führt zum AltGr Bug; Umschalt+‹ (Mod4) Zeigt ‹
+; das folgende wird seltsamerweise nicht gebraucht :) oder führt zum AltGr Bug; Umschalt+‹ (Mod4) Zeigt ‹
SC138 & *<::
if (IsMod4Locked)
{
@@ -75,7 +77,7 @@ SC138 & *<::
IsMod4Locked = 1
}
return
-*/
+
; Mod3-Lock durch Mod3+Mod3
IsMod3Locked := 0