summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src
diff options
context:
space:
mode:
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r--windows/neo-vars/src/source/einhandneo.ahk2
-rw-r--r--windows/neo-vars/src/source/initialize.ahk4
-rw-r--r--windows/neo-vars/src/source/levelfunctions.ahk2
-rw-r--r--windows/neo-vars/src/source/varsfunctions.ahk24
4 files changed, 17 insertions, 15 deletions
diff --git a/windows/neo-vars/src/source/einhandneo.ahk b/windows/neo-vars/src/source/einhandneo.ahk
index e1586cc..a8761d2 100644
--- a/windows/neo-vars/src/source/einhandneo.ahk
+++ b/windows/neo-vars/src/source/einhandneo.ahk
@@ -128,7 +128,7 @@ CharProc__M2LT() {
global
; Mod2Lock Toggle
ToggleMod2Lock()
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
}
TransformEinhand(PhysKey) {
diff --git a/windows/neo-vars/src/source/initialize.ahk b/windows/neo-vars/src/source/initialize.ahk
index e864ada..24ca778 100644
--- a/windows/neo-vars/src/source/initialize.ahk
+++ b/windows/neo-vars/src/source/initialize.ahk
@@ -87,7 +87,9 @@ IsMod4RPressed := 0
IsMod4LPressed := 0
IsMod4Pressed := 0
IsMod4Locked := 0
-EbeneAktualisieren()
+EbeneAktualisieren := "NEOEbeneAktualisieren"
+
+%EbeneAktualisieren%()
ActivateLayOut(inputlocale)
diff --git a/windows/neo-vars/src/source/levelfunctions.ahk b/windows/neo-vars/src/source/levelfunctions.ahk
index 76340f6..4330dda 100644
--- a/windows/neo-vars/src/source/levelfunctions.ahk
+++ b/windows/neo-vars/src/source/levelfunctions.ahk
@@ -1,4 +1,4 @@
-EbeneAktualisieren() {
+NEOEbeneAktualisieren() {
global
Modstate := IsMod4Active() . IsMod3Active()
Ebene7 := 0
diff --git a/windows/neo-vars/src/source/varsfunctions.ahk b/windows/neo-vars/src/source/varsfunctions.ahk
index b9c73df..d538a03 100644
--- a/windows/neo-vars/src/source/varsfunctions.ahk
+++ b/windows/neo-vars/src/source/varsfunctions.ahk
@@ -201,7 +201,7 @@ CharProc__M2LD() {
isShiftLPressed := 1
isShiftPressed := 1
wasNonShiftKeyPressed := 0
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M2LU"
}
CharOutDown("S__L_M2")
@@ -211,7 +211,7 @@ CharProc__M2LU() {
global
isShiftLPressed := 0
isShiftPressed := isShiftRPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
CharOutUp("S__L_M2")
}
@@ -223,7 +223,7 @@ CharProc__M2RD() {
isShiftRPressed := 1
isShiftPressed := 1
wasNonShiftKeyPressed := 0
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M2RU"
}
CharOutDown("S__R_M2")
@@ -233,7 +233,7 @@ CharProc__M2RU() {
global
isShiftRPressed := 0
isShiftPressed := isShiftLPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
CharOutUp("S__R_M2")
}
@@ -245,7 +245,7 @@ CharProc__M3LD() {
isMod3LPressed := 1
isMod3Pressed := 1
wasNonShiftKeyPressed := 0
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M3LU"
}
}
@@ -256,7 +256,7 @@ CharProc__M3LU() {
CharStarUp("MOD3")
isMod3LPressed := 0
isMod3Pressed := isMod3RPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
}
CharProc__M3RD() {
@@ -267,7 +267,7 @@ CharProc__M3RD() {
isMod3RPressed := 1
isMod3Pressed := 1
wasNonShiftKeyPressed := 0
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M3RU"
}
}
@@ -278,7 +278,7 @@ CharProc__M3RU() {
CharStarUp("MOD3")
isMod3RPressed := 0
isMod3Pressed := isMod3LPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
}
CharProc__M4LD() {
@@ -286,7 +286,7 @@ CharProc__M4LD() {
if (!isMod4LPressed) {
isMod4LPressed := 1
isMod4Pressed := 1
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M4LU"
if (isMod4RPressed and !wasNonShiftKeyPressed) {
wasNonShiftKeyPressed := 0
@@ -300,7 +300,7 @@ CharProc__M4LU() {
global
isMod4LPressed := 0
isMod4Pressed := isMod4RPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
}
CharProc__M4RD() {
@@ -308,7 +308,7 @@ CharProc__M4RD() {
if (!isMod4RPressed) {
isMod4RPressed := 1
isMod4Pressed := 1
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
PR%PhysKey% := "P__M4RU"
if (isMod4LPressed and !wasNonShiftKeyPressed) {
wasNonShiftKeyPressed := 0
@@ -322,7 +322,7 @@ CharProc__M4RU() {
global
isMod4RPressed := 0
isMod4Pressed := isMod4LPressed
- EbeneAktualisieren()
+ %EbeneAktualisieren%()
}
SendUnicodeChar(charCode){