summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src/source/einhandneo.ahk
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-03-28 13:38:18 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-03-28 13:38:18 +0000
commite7036f60bdae524c61307ad8de3a429b992cc15d (patch)
tree5624efea62d28afacff72a9fedb46835a3eec66c /windows/neo-vars/src/source/einhandneo.ahk
parenta4870f5d8e5eb33ff1332756bd4b23308fc86db2 (diff)
downloadneo-layout-e7036f60bdae524c61307ad8de3a429b992cc15d.tar.gz
neo-layout-e7036f60bdae524c61307ad8de3a429b992cc15d.tar.bz2
neo-layout-e7036f60bdae524c61307ad8de3a429b992cc15d.zip
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.ahk20
1 files changed, 10 insertions, 10 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
@@ -64,8 +64,8 @@ CharProc___EH1() {
GUISYM("P__EHSd","EH")
ED("EHSpace",0,"U000020","U000020","U000020","S__N__0","U0000A0","U00202F")
- TransformProc := "Einhand"
- TransformBSTNProc := "Einhand"
+ TransformProc := "Einhand"
+ TransformBSTProc := "Einhand"
}
CharProc___EH0() {
@@ -108,17 +108,18 @@ CharProc___EH0() {
ED("space",0,"U000020","U000020","U000020","S__N__0","U0000A0","U00202F")
GUISYM("P__EHSd","")
- TransformProc := ""
- TransformBSTNProc := ""
+ TransformProc := ""
+ 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%