summaryrefslogtreecommitdiffstats
path: root/windows/autohotkey/Source/Keys-Neo.ahk
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-27 23:48:52 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-27 23:48:52 +0000
commitc1159a7e453ceb78c0af178e99711ca0cce778ae (patch)
tree749a9e8fac19c84cccea1bfd909ace0c08971cce /windows/autohotkey/Source/Keys-Neo.ahk
parent36e0683326c30002e2b0113d56931ac52f0f80c4 (diff)
AHK um Verbindungszeichen bei doppelten toten Tasten ergänzt.
Bei CapsLock, Mod3 und Shift wird jetzt ›+‹ statt ›*‹ gesendet. git-svn-id: https://svn.neo-layout.org@815 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/autohotkey/Source/Keys-Neo.ahk')
-rw-r--r--windows/autohotkey/Source/Keys-Neo.ahk46
1 files changed, 21 insertions, 25 deletions
diff --git a/windows/autohotkey/Source/Keys-Neo.ahk b/windows/autohotkey/Source/Keys-Neo.ahk
index 16ab973..2924063 100644
--- a/windows/autohotkey/Source/Keys-Neo.ahk
+++ b/windows/autohotkey/Source/Keys-Neo.ahk
@@ -7,26 +7,22 @@
neo_tot1:
noCaps=1
EbeneAktualisieren()
- if (Ebene=1) {
+ if (Ebene=1) and !CheckDeadUni("c1",0x0302) {
deadUni(0x02C6) ; Zirkumflex, tot
DeadKey = c1
- } else if (Ebene = 2) {
+ } else if (Ebene = 2) and !CheckDeadUni("c2",0x030C) {
deadUni(0x02C7) ; Caron, tot
DeadKey = c2
- } else if (Ebene = 3) {
+ } else if (Ebene = 3) and !CheckDeadUni("c3",0x0306) {
deadUni(0x02D8) ; Brevis, tot
DeadKey = c3
- } else if Ebene7
- SendUnicodeChar(0x0302) ; Verbindungszeichen Zirkumflex
- else if Ebene8
- SendUnicodeChar(0x0306) ; Verbindungszeichen Brevis
- else if (Ebene = 4) {
+ } else if (Ebene = 4) {
deadUni(0x00B7) ; Mittenpunkt, tot
DeadKey = c4
- } else if (Ebene = 5) {
+ } else if (Ebene = 5) and !CheckDeadUni("c5",0x0335) {
deadUni(0x002D) ; Querstrich, tot
DeadKey = c5
- } else if (Ebene = 6) {
+ } else if (Ebene = 6) and !CheckDeadUni("c6",0x0323) {
deadUni(0x002E) ; Punkt drunter (Colon), tot
DeadKey = c6
} CompKey := PriorCompKey
@@ -268,22 +264,22 @@ return
neo_tot2:
noCaps = 1
EbeneAktualisieren()
- if (Ebene = 1) {
+ if (Ebene = 1) and !CheckDeadUni("a1",0x0301) {
deadAsc("{´}{space}") ; Akut, tot
DeadKey := "a1"
- } else if (Ebene = 2) {
+ } else if (Ebene = 2) !CheckDeadUni("a2",0x0300) {
deadAsc("``{space}") ; Gravis, tot
DeadKey := "a2"
- } else if (Ebene = 3) {
+ } else if (Ebene = 3) !CheckDeadUni("a3",0x0327) {
deadAsc("¸") ; Cedilla, tot
DeadKey := "a3"
- } else if (Ebene = 4) {
+ } else if (Ebene = 4) !CheckDeadUni("a4",0x0307) {
deadUni(0x02D9) ; Punkt oben
DeadKey := "a4"
- } else if (Ebene = 5) {
+ } else if (Ebene = 5) !CheckDeadUni("a5",0x0328) {
deadUni(0x02DB) ; Ogonek
DeadKey := "a5"
- } else if (Ebene = 6) {
+ } else if (Ebene = 6) !CheckDeadUni("a6",0x030A) {
deadUni(0x02DA) ; Ring oben
DeadKey := "a6"
} CompKey := PriorCompKey
@@ -493,24 +489,22 @@ return
neo_tot3:
noCaps = 1
EbeneAktualisieren()
- if (Ebene = 1) {
+ if (Ebene = 1) !CheckDeadUni("t1",0x0303) {
deadUni(0x02DC) ; Tilde, tot
DeadKey := "t1"
- } else if (Ebene = 2) {
+ } else if (Ebene = 2) !CheckDeadUni("t2",0x0304) {
deadUni(0x00AF) ; Macron, tot
DeadKey := "t2"
- } else if (Ebene = 3) {
+ } else if (Ebene = 3) !CheckDeadUni("t3",0x0308) {
deadUni(0x00A8) ; Diärese
DeadKey := "t3"
- } else if Ebene7
- SendUnicodeChar(0x0308) ; Verbindungszeichen Diärese
- else if (Ebene = 4) {
+ } else if (Ebene = 4) !CheckDeadUni("t4",0x0337) {
deadUni(0x002F) ; Schrägstrich, tot
DeadKey := "t4"
- } else if (Ebene = 5) {
+ } else if (Ebene = 5) !CheckDeadUni("t5",0x030B) {
deadUni(0x02DD) ; Doppelakut
DeadKey := "t5"
- } else if (Ebene = 6) {
+ } else if (Ebene = 6) !CheckDeadUni("t6",0x0326) {
deadUni(0x02CF) ; Komma drunter, tot
DeadKey := "t6"
}
@@ -856,7 +850,9 @@ neo_b:
if (Ebene12 and !(CheckDeadUni12("a4",0x1E03,0x1E02)))
OutputChar("b","B")
else if (Ebene = 3)
- send {blind}{+}
+ if isMod2Locked
+ send {blind}{Shift Up}{+}
+ else send {blind}{+}
else if (Ebene = 4)
send {blind}:
else if (Ebene = 5)