From 159b0e498f76473bf58c01901a18681c43a10d42 Mon Sep 17 00:00:00 2001 From: martin_r Date: Fri, 29 Aug 2008 23:31:36 +0000 Subject: 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). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@829 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/autohotkey/Source/Methods-Layers.ahk | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'windows') 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() -- cgit v1.2.3