summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-29 23:31:36 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-29 23:31:36 +0000
commit159b0e498f76473bf58c01901a18681c43a10d42 (patch)
tree119d69114d2df2d6739db353f7eb818641f1c73d /windows
parent30852823d7d70e19be682658491547a99e2bfb2d (diff)
downloadneo-layout-159b0e498f76473bf58c01901a18681c43a10d42.tar.gz
neo-layout-159b0e498f76473bf58c01901a18681c43a10d42.tar.bz2
neo-layout-159b0e498f76473bf58c01901a18681c43a10d42.zip
Methods-Layers.ahk: ein paar Formatierungen angepasst.
Bug ausgemerzt: CapsLock funktionierte nicht mehr, wenn eine Taste gedrückt wurde, auf die CapsLock nicht wirkt (Ziffernreihe/-block, Akzente, Punkt, Komma). git-svn-id: https://svn.neo-layout.org@829 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/autohotkey/Source/Methods-Layers.ahk12
1 files changed, 6 insertions, 6 deletions
diff --git a/windows/autohotkey/Source/Methods-Layers.ahk b/windows/autohotkey/Source/Methods-Layers.ahk
index 81fd081..3138516 100644
--- a/windows/autohotkey/Source/Methods-Layers.ahk
+++ b/windows/autohotkey/Source/Methods-Layers.ahk
@@ -14,10 +14,10 @@ VKA0SC02A & VKA1SC136:: ; LShift, dann RShift
if GetKeyState("VKA1SC136", "P") and GetKeyState("VKA0SC02A", "P") {
if isMod2Locked {
isMod2Locked = 0
- KeyboardLED(4,"off")
+ KeyboardLED(4, "off")
} else {
isMod2Locked = 1
- KeyBoardLED(4,"on")
+ KeyBoardLED(4, "on")
}
}
return
@@ -26,7 +26,7 @@ return
;Auf Mod3+Mod3 liegt zusätzlich zu Mod3+Tab Compose
*VKBFSC02B:: ; #
*VK14SC03A:: ; CapsLock
- if (GetKeyState("VKBFSC02B", "P") and GetKeyState("VK14SC03A", "P")) {
+ if GetKeyState("VKBFSC02B", "P") and GetKeyState("VK14SC03A", "P") {
DeadKey := "comp"
CompKey := ""
}
@@ -47,13 +47,13 @@ IsMod4Locked := 0
MsgBox Mod4-Feststellung aufgebehoben!
IsMod4Locked = 0
if UseMod4Light
- KeyboardLED(1,"off")
+ KeyboardLED(1, "off")
} else {
if zeigeLockBox
MsgBox Mod4 festgestellt: Um Mod4 wieder zu lösen, drücke beide Mod4-Tasten gleichzeitig!
IsMod4Locked = 1
if UseMod4Light
- KeyboardLED(1,"on")
+ KeyboardLED(1, "on")
}
}
return
@@ -65,6 +65,7 @@ EbeneAktualisieren() {
DeadKey := ""
CompKey := ""
Modstate := IsMod4Pressed() . IsMod3Pressed() . IsShiftPressed()
+ noCaps := 0
Ebene7 := 0
Ebene8 := 0
if (Modstate = "000") ; Ebene 1: Ohne Mod
@@ -105,7 +106,6 @@ IsShiftPressed()
return 1
else
return 0
- noCaps = 0
}
IsMod3Pressed()