1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
neo_punkt:
noCaps = 1
EbeneAktualisieren()
if (Ebene = 1)
OutputChar(".", "period")
else if (Ebene = 2)
SendUnicodeChar("0x2026", "ellipsis") ; Ellipse
else if (Ebene = 3)
OutputChar("'", "apostrophe")
else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B3)
or CheckDeadUni("t4",0x2083)))
OutputChar("{Numpad3}", "KP_3")
else if (Ebene = 5)
SendUnicodeChar(0x03D1, "U03D1") ; theta symbol (vartheta)
else if (Ebene = 6)
SendUnicodeChar(0x0398, "Greek_THETA") ; Theta
return
neo_komma:
noCaps = 1
EbeneAktualisieren()
if (Ebene = 1)
OutputChar(",", "comma")
else if (Ebene = 2)
SendUnicodeChar(0x22EE, "U22EE") ; vertikale Ellipse
else if (Ebene = 3)
OutputChar(Chr(34), "quotedbl")
else if ((Ebene = 4) and !(CheckDeadUni("c1",0x00B2)
or CheckDeadUni("c5",0x2082)))
OutputChar("{Numpad2}", "KP_2")
else if (Ebene = 5)
SendUnicodeChar(0x03C1, "Greek_rho") ; rho
else if (Ebene = 6)
SendUnicodeChar(0x21D0, "U21D0") ; Doppelpfeil links
return
neo_strich:
noCaps = 1
EbeneAktualisieren()
if (Ebene = 1)
OutputChar("-", "minus") ; Bindestrich-Minus
else if (Ebene = 2)
SendUnicodeChar(0x2013, "endash") ; Gedankenstrich
else if (Ebene = 3)
SendUnicodeChar(0x2014, "emdash") ; Englischer Gedankenstrich (Geviertstrich)
else if (Ebene = 5)
SendUnicodeChar(0x2011, "U2011") ; geschützter Bindestrich (Bindestrich ohne Zeilenumbruch)
else if (Ebene = 6)
SendUnicodeChar(0x00AD, "hyphen") ; weicher Bindestrich
return
*space::
if einHandNeo
spacepressed := 1
else goto neo_SpaceUp
return
*space up::
if einHandNeo
if keypressed {
keypressed := 0
spacepressed := 0
} else goto neo_SpaceUp
return
neo_SpaceUp:
EbeneAktualisieren()
if (Ebene = 1) and !CheckDeadUni("t4",0x2010) ; Echter Bindestrich
OutputChar("{Space}", "Space")
else if (Ebene = 2) or (Ebene = 3)
Send {blind}{Space}
else if ((Ebene = 4) and !(CheckDeadUni("c1",0x2070)
or CheckDeadUni("c5",0x2080)))
OutputChar("{Numpad0}", "KP_0")
else if (Ebene = 5)
SendUnicodeChar(0x00A0, "U00A0") ; geschütztes Leerzeichen
else if (Ebene = 6)
SendUnicodeChar(0x202F, "U202F") ; schmales geschütztes Leerzeichen
DeadKey := ""
CompKey := ""
spacepressed := 0
keypressed := 0
return
*Enter::
EbeneAktualisieren()
if !lernModus or lernModus_std_Return {
if (Ebene = 4)
send {blind}{NumpadEnter}
else send {blind}{Enter}
DeadKey := ""
CompKey := ""
} return
*Backspace::
if !lernModus or lernModus_std_Backspace {
send {Blind}{Backspace}
DeadKey := ""
CompKey := ""
} return
*Del::
if !lernModus or lernModus_std_Entf
send {Blind}{Del}
return
*Ins::
if !lernModus or lernModus_std_Einf
send {Blind}{Ins}
return
neo_tab:
if (IsMod3Pressed()) { ; Compose!
DeadKey := "comp"
CompKey := ""
} else {
OutputChar("{Tab}","Tab")
DeadKey := ""
CompKey := ""
} return
*Home::
if !lernModus or lernModus_std_Pos1 {
send {Blind}{Home}
DeadKey := ""
CompKey := ""
} return
*End::
if !lernModus or lernModus_std_Ende {
send {Blind}{End}
DeadKey := ""
CompKey := ""
} return
*PgUp::
if !lernModus or lernModus_std_PgUp {
send {Blind}{PgUp}
DeadKey := ""
CompKey := ""
} return
*PgDn::
if !lernModus or lernModus_std_PgDn {
send {Blind}{PgDn}
DeadKey := ""
CompKey := ""
} return
*Up::
if !lernModus or lernModus_std_Hoch {
send {Blind}{Up}
DeadKey := ""
CompKey := ""
} return
*Down::
if !lernModus or lernModus_std_Runter {
send {Blind}{Down}
DeadKey := ""
CompKey := ""
} return
*Left::
if !lernModus or lernModus_std_Links {
send {Blind}{Left}
DeadKey := ""
CompKey := ""
} return
*Right::
if !lernModus or lernModus_std_Rechts {
send {Blind}{Right}
DeadKey := ""
CompKey := ""
} return
|