ticket#7: fixed, auch für Mod3 und Mod4.

git-svn-id: https://svn.neo-layout.org@1137 b9310e46-f624-0410-8ea1-cfbb3a30dc96
This commit is contained in:
mösi 2008-11-07 18:55:57 +00:00
parent dc9736611e
commit d1550fef10

View file

@ -574,10 +574,11 @@ ToggleMod2Lock() {
*VKBFSC02B::
if (isMod3LPressed and !isMod3RPressed)
if (isMod3LPressed and !isMod3RPressed and !wasNonShiftKeyPressed)
CharStarDown("MOD3", "MOD3", "SComp")
isMod3RPressed := 1
isMod3Pressed := 1
wasNonShiftKeyPressed := 0
EbeneAktualisieren()
return
@ -590,10 +591,11 @@ return
return
*VK14SC03A::
if (isMod3RPressed and !isMod3LPressed)
if (isMod3RPressed and !isMod3LPressed and !wasNonShiftKeyPressed)
CharStarDown("MOD3", "MOD3", "SComp")
isMod3LPressed := 1
isMod3Pressed := 1
wasNonShiftKeyPressed := 0
EbeneAktualisieren()
return
@ -615,8 +617,10 @@ return
wasMod4RPressed := isMod4RPressed
isMod4RPressed := 1
isMod4Pressed := 1
waswasNonShiftKeyPressed := wasNonShiftKeyPressed
wasNonShiftKeyPressed := 0
EbeneAktualisieren()
if (isMod4LPressed and !wasMod4RPressed)
if (isMod4LPressed and !wasMod4RPressed and !waswasNonShiftKeyPressed)
ToggleMod4Lock()
return
@ -630,8 +634,10 @@ return
wasMod4LPressed := isMod4LPressed
isMod4LPressed := 1
isMod4Pressed := 1
waswasNonShiftKeyPressed := wasNonShiftKeyPressed
wasNonShiftKeyPressed := 0
EbeneAktualisieren()
if (isMod4RPressed and !wasMod4LPressed)
if (isMod4RPressed and !wasMod4LPressed and !waswasNonShiftKeyPressed)
ToggleMod4Lock()
return