diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-03-28 13:38:18 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2010-03-28 13:38:18 +0000 |
commit | e7036f60bdae524c61307ad8de3a429b992cc15d (patch) | |
tree | 5624efea62d28afacff72a9fedb46835a3eec66c /windows/neo-vars/src/source/einhandneo.ahk | |
parent | a4870f5d8e5eb33ff1332756bd4b23308fc86db2 (diff) |
Feinschliff für Release:
• BSTN auf BST umbenannt, alte BST auf BSTO umbenannt, alle Funktionsaufrufe adaptiert.
• BST-Darstellungsupdates optimiert. Spezialbelegungen wie Einhandmodus brauchen einen eigenen Parameter zum Erzwingen von Updates (Check_BSTUpdate(1)).
• BST hat nun ihre eigene Check_BSTUpdate()-Funktion, weniger Spaghetti beim Kunden.
• Die Haupt-BST, also die neue, liegt nun unter M3-F1. Die alte bekommt M3-F2.
git-svn-id: https://svn.neo-layout.org@2240 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars/src/source/einhandneo.ahk')
-rw-r--r-- | windows/neo-vars/src/source/einhandneo.ahk | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/windows/neo-vars/src/source/einhandneo.ahk b/windows/neo-vars/src/source/einhandneo.ahk index 1434793..95ed7f5 100644 --- a/windows/neo-vars/src/source/einhandneo.ahk +++ b/windows/neo-vars/src/source/einhandneo.ahk @@ -65,7 +65,7 @@ CharProc___EH1() { ED("EHSpace",0,"U000020","U000020","U000020","S__N__0","U0000A0","U00202F")
TransformProc := "Einhand"
- TransformBSTNProc := "Einhand"
+ TransformBSTProc := "Einhand"
}
CharProc___EH0() {
@@ -109,16 +109,17 @@ CharProc___EH0() { GUISYM("P__EHSd","")
TransformProc := ""
- TransformBSTNProc := ""
+ TransformBSTProc := ""
}
CharProc__EHSd() {
global
; Space im Einhandmodus gedrückt
- EHSpacePressed := 1
PRspace := "P__EHSu"
- if (useBSTN)
- BSTNUpdate()
+ if (!EHSpacePressed) {
+ EHSpacePressed := 1
+ Check_BSTUpdate(1)
+ }
}
CharProc__EHSu() {
@@ -130,8 +131,7 @@ CharProc__EHSu() { }
EHKeyPressed := 0
EHSpacePressed := 0
- if (useBSTN)
- BSTNUpdate()
+ Check_BSTUpdate(1)
}
CharProc__M2LT() {
@@ -150,7 +150,7 @@ TransformEinhand(PhysKey) { return PhysKey
}
-TransformBSTNEinhand(PhysKey) {
+TransformBSTEinhand(PhysKey) {
global
if (EHSpacePressed and (TKEH_%PhysKey% != "")) {
return TKEH_%PhysKey%
|