Fehler ausgebessert, Formatierung vereinfacht/vereinheitlicht, Compose-Ligaturen implementiert
This commit is contained in:
parent
faedcad6ed
commit
c49c65693b
Binary file not shown.
|
@ -4,8 +4,8 @@ Der typische (La)TeX-Nutzer profitiert in vielfacher Weise vom NEO-Tastaturlayou
|
|||
Die hier vorgestellten Pakete und Programme zielen darauf ab, darüber hinaus auch die Unicode-Zeichen auf der NEO-Tastatur direkt in LaTeX eingeben zu können.
|
||||
|
||||
=== XeTeX ===
|
||||
XeTeX ist eine moderne Alternative zu e-TeX, die neben nativer Unicode-Unterstützung auch die einfache Nutzung moderner Schriftformate (TrueType, OpenType) und ihrer Vorteile (bspw. Ligaturen und variationen in OpenType-Fonts) ermöglicht. In diesem Ordner befindet sich ein einfaches Beispiel, das genau diese Features demonstriert.
|
||||
Leider unterstützt XeTeX derzeitig jedoch noch nicht die typographischen Feinheiten des Microtype-Paketes (optischer Randausgleich etc.).
|
||||
XeTeX ist eine moderne Alternative zu e-TeX, die neben nativer Unicode-Unterstützung auch die einfache Nutzung moderner Schriftformate (TrueType, OpenType) und ihrer Vorteile (bspw. Ligaturen und Variationen in OpenType-Fonts) ermöglicht. In diesem Ordner befindet sich ein einfaches Beispiel, das genau diese Features demonstriert.
|
||||
Leider jedoch unterstützt XeTeX derzeitig noch nicht die typographischen Feinheiten des Microtype-Paketes (optischer Randausgleich etc.).
|
||||
|
||||
=== XeTeX-unicode-math ===
|
||||
Mit XeTeX können Unicode-Zeichen auch im Mathematik-Modus gesetzt werden. Die Unterstützung hierfür ist zwar bereits weit fortgeschritten, wird aber noch als experimentell angesehen und ist deshalb in einem separaten Paket unicode-math ausgelagert. In diesem Ordner befindet sich neben einer Installationsanleitung auch ein Beispiel, das grundliegende Features demonstriert.
|
||||
|
|
|
@ -27,7 +27,7 @@ Zuerſt ſollte man ſich die Schrift »Linux Libertine O« im OpenType-Format h
|
|||
\subsection*{Ein paar nette \XeLaTeX-Spielereien}
|
||||
¡Willkommen zu \XeLaTeX, dem \TeX-Derivat der Zukunft! Die Schriften des Betriebsſyſtems werden \emph{nahtlos} und \emph{vollautomatiſch} mitſamt aller Schriftſchnitte in \XeTeX\ integriert. Oft werden ſo ſogar erweiterte OpenType-Features anſprechbar, die in Word, OpenOffice etc.\ noch gar nicht unterſtützt werden.
|
||||
|
||||
Dies betrifft beispielsweise dichtengleiche Zahlen wie {\addfontfeatures{Numbers={Lining,Monospaced,SlashedZero}}1234,50} (vs.\ 1234,50), Mediäval- oder Minuskelziffern wie {\addfontfeature{Numbers=OldStyle}0123456789}, normale wie ſeltene {\addfontfeatures{Ligatures={Rare,Historical}}fluffige starke Ligaturenſchätze wie »ct«}, aber auch {\addfontfeatures{Letters=SmallCaps,LetterSpace=6.0}ECHTE KAPITÄLCHEN}.
|
||||
Dies betrifft beispielsweise dicktengleiche Zahlen wie {\addfontfeatures{Numbers={Lining,Monospaced,SlashedZero}}1234,50} (vs.\ 1234,50), Mediäval- oder Minuskelziffern wie {\addfontfeature{Numbers=OldStyle}0123456789}, normale wie ſeltene {\addfontfeatures{Ligatures={Rare,Historical}}fluffige starke Ligaturenſchätze wie »ct«}, aber auch {\addfontfeatures{Letters=SmallCaps,LetterSpace=6.0}ECHTE KAPITÄLCHEN}.
|
||||
|
||||
% Nicht in dieser Schrift unterstützt: Ligatures={Required,Rare,Common,Historical,Contextual}, Contextuals={Swash,WordInitial,WordFinal,LineFinal,Inner}
|
||||
|
||||
|
|
|
@ -184,5 +184,3 @@ Revsion 490 (von Stefan Mayer):
|
|||
• Brüche (auf Zahlenreihe und Hardware-Ziffernblock).
|
||||
• römische Zahlen.
|
||||
• Ligaturen und Copyright.
|
||||
|
||||
|
||||
|
|
|
@ -2,15 +2,14 @@
|
|||
------------------------------------------------------
|
||||
All.ahk:
|
||||
Diese Datei ist für Entwickler zum schnellen Testen von Änderungen vorgesehen. Bei Syntaxfehlern bietet sie zudem den Vorteil, dass die Zeilennummern relativ zu den einzelnen Modulen angezeigt werden.
|
||||
|
||||
Die Reihenfolge der Includes *ist* relevant!
|
||||
Denn: Vor dem Menü in der Global-Part.ahk dürfen keine Tastenkombinationen definiert werden. Ansonsten können Sie die Dateien hier beliebig anordnen. :-)
|
||||
|
||||
Siehe auch:
|
||||
http://www.autohotkey.com/docs/commands/_Include.htm
|
||||
|
||||
------------------------------------------------------
|
||||
*/
|
||||
|
||||
#Include %a_scriptdir%\Warning.ahk
|
||||
#Include %a_scriptdir%\Global-Part.ahk
|
||||
#Include %a_scriptdir%\Methods-Layers.ahk
|
||||
|
@ -20,6 +19,6 @@
|
|||
#Include %a_scriptdir%\Methods-Other.ahk
|
||||
#Include %a_scriptdir%\Methods-Unicode.ahk
|
||||
#Include %a_scriptdir%\Methods-ScreenKeyboard.ahk
|
||||
; Eines schönen Tages sollten auch die Compose-Kombinationen automatisch aus der Referenz erzeugt werden. Derzeitig gibt es nur den (höchst instabilen und experimentellen!) Compose-Playground:
|
||||
; Eines schönen Tages sollten auch die Compose-Kombinationen automatisch aus der Referenz erzeugt werden.
|
||||
; Derzeitig gibt es nur den (höchst instabilen und experimentellen!) Compose-Playground:
|
||||
; #Include *i %a_scriptdir%\..\Compose\Compose-all-in-one.ahk
|
||||
|
||||
|
|
|
@ -111,9 +111,7 @@ if(FileExist("neo.ico")&&FileExist("neo_disabled.ico"))
|
|||
*/
|
||||
regread,inputlocale,HKEY_CURRENT_USER,Keyboard Layout\Preload,1
|
||||
regread,inputlocalealias,HKEY_CURRENT_USER,Keyboard Layout\Substitutes,%inputlocale%
|
||||
if inputlocalealias<>inputlocale=%inputlocalealias%
|
||||
if inputlocale<>00000407
|
||||
{
|
||||
if (inputlocalealias<>inputlocale=%inputlocalealias% and inputlocale<>00000407) {
|
||||
suspend
|
||||
regread,inputlocale,HKEY_LOCAL_MACHINE,SYSTEM\CurrentControlSet\Control\Keyboard Layouts\%inputlocale%,Layout Text
|
||||
msgbox, 48, Warnung!,
|
||||
|
@ -162,47 +160,41 @@ menu,tray,tip,%name%
|
|||
*/
|
||||
;Blinde/Sichtbare Tote Tasten
|
||||
*F9::
|
||||
if (isMod4pressed())
|
||||
DeadSilence := not(DeadSilence)
|
||||
else
|
||||
send {blind}{F9}
|
||||
if isMod4pressed()
|
||||
DeadSilence := !(DeadSilence)
|
||||
else send {blind}{F9}
|
||||
return
|
||||
|
||||
;Blinde/Sichtbare Compose
|
||||
*F10::
|
||||
if (isMod4pressed())
|
||||
DeadCompose := not(DeadCompose)
|
||||
else
|
||||
send {blind}{F10}
|
||||
if isMod4pressed()
|
||||
DeadCompose := !(DeadCompose)
|
||||
else send {blind}{F10}
|
||||
return
|
||||
|
||||
;Lang-s-Tastatur:
|
||||
*F11::
|
||||
if (isMod4pressed()){
|
||||
LangSTastatur := not(LangSTastatur)
|
||||
if isMod4pressed() {
|
||||
LangSTastatur := !(LangSTastatur)
|
||||
if LangSTastatur
|
||||
KeyboardLED(2,"on")
|
||||
else KeyboardLED(2,"off")
|
||||
}
|
||||
else
|
||||
send {blind}{F11}
|
||||
} else send {blind}{F11}
|
||||
return
|
||||
|
||||
;Alle Modi und Locks in den Normalzustand versetzen
|
||||
;bzw. Skript neu laden:
|
||||
*Esc::
|
||||
if (isMod4pressed())
|
||||
if isMod4pressed()
|
||||
reload
|
||||
else
|
||||
send {blind}{Esc}
|
||||
else send {blind}{Esc}
|
||||
return
|
||||
|
||||
*pause::
|
||||
Suspend, Permit
|
||||
if isShiftpressed()
|
||||
goto togglesuspend
|
||||
else=
|
||||
send {blind}{pause}
|
||||
else send {blind}{pause}
|
||||
return
|
||||
|
||||
/*****************
|
||||
|
@ -210,23 +202,19 @@ return
|
|||
******************
|
||||
*/
|
||||
togglesuspend:
|
||||
if A_IsSuspended
|
||||
{
|
||||
if A_IsSuspended {
|
||||
menu, tray, rename, %enable%, %disable%
|
||||
menu, tray, tip, %name%
|
||||
if (iconBenutzen)
|
||||
menu, tray, icon, %ResourceFolder%\neo.ico,,1
|
||||
suspend , off ; Schaltet Suspend aus -> NEO
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
menu, tray, rename, %disable%, %enable%
|
||||
menu, tray, tip, %name% : Deaktiviert
|
||||
if (iconBenutzen)
|
||||
menu, tray, icon, %ResourceFolder%\neo_disabled.ico,,1
|
||||
suspend , on ; Schaltet Suspend ein -> QWERTZ
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
help:
|
||||
Run, %A_WinDir%\hh mk:@MSITStore:autohotkey.chm
|
||||
|
@ -348,5 +336,3 @@ gespiegelt_m = neo_p
|
|||
gespiegelt_komma = neo_ä
|
||||
gespiegelt_punkt = neo_ö
|
||||
gespiegelt_j = neo_ü
|
||||
|
||||
|
||||
|
|
|
@ -1,15 +1,6 @@
|
|||
/*
|
||||
Die eigentliche NEO-Belegung und der Hauptteil des AHK-Treibers.
|
||||
|
||||
Ablauf bei toten Tasten:
|
||||
1. Ebene Aktualisieren.
|
||||
2. Abhängig von der Variablen "Ebene" Zeichen ausgeben und die Variable "PriorDeadKey" setzen.
|
||||
|
||||
Ablauf bei "untoten" Tasten:
|
||||
1. Ebene Aktualisieren.
|
||||
2. Abhängig von den Variablen "Ebene" und "PriorDeadKey" Zeichen ausgeben.
|
||||
3. "PriorDeadKey" mit leerem String überschreiben.
|
||||
|
||||
Reihe 1
|
||||
*/
|
||||
|
||||
|
@ -93,8 +84,8 @@ neo_3:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if Ebene12 {
|
||||
if!(CheckDeadUni("c1",0x00B3)
|
||||
or CheckDeadUni("c5",0x2083)
|
||||
if !(CheckDeadUni("c1",0x00B3) ; Hochgestellte 3
|
||||
or CheckDeadUni("c5",0x2083) ; Tiefgestellte 3
|
||||
or CheckCompUni("1",0x2153) ; 1/3
|
||||
or CheckCompUni("2",0x2154) ; 2/3
|
||||
or CheckCompUni("r",0x2172) ; Römisch iii
|
||||
|
@ -113,8 +104,8 @@ neo_4:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1) {
|
||||
if!(CheckDeadUni("c1",0x2074)
|
||||
or CheckDeadUni("c5",0x2084)
|
||||
if !(CheckDeadUni("c1",0x2074) ; Hochgestellte 4
|
||||
or CheckDeadUni("c5",0x2084) ; Tiefgestellte 4
|
||||
or CheckCompUni("r",0x2173) ; Römisch iv
|
||||
or CheckCompUni("R",0x2163)) ; Römisch IV
|
||||
outputChar(4,"")
|
||||
|
@ -135,8 +126,8 @@ neo_5:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1) {
|
||||
if!(CheckDeadUni("c1",0x2075)
|
||||
or CheckDeadUni("c5",0x2085)
|
||||
if !(CheckDeadUni("c1",0x2075) ; Hochgestellte 5
|
||||
or CheckDeadUni("c5",0x2085) ; Tiefgestellte 5
|
||||
or CheckCompUni("1",0x2155) ; 1/5
|
||||
or CheckCompUni("2",0x2156) ; 2/5
|
||||
or CheckCompUni("3",0x2157) ; 3/5
|
||||
|
@ -159,8 +150,8 @@ neo_6:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1) {
|
||||
if!(CheckDeadUni("c1",0x2076)
|
||||
or CheckDeadUni("c5",0x2086)
|
||||
if !(CheckDeadUni("c1",0x2076) ; Hochgestellte 6
|
||||
or CheckDeadUni("c5",0x2086) ; Tiefgestellte 6
|
||||
or CheckCompUni("1",0x2159) ; 1/6
|
||||
or CheckCompUni("5",0x215A) ; 5/6
|
||||
or CheckCompUni("r",0x2175) ; Römisch vi
|
||||
|
@ -181,8 +172,8 @@ neo_7:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if Ebene12 {
|
||||
if!(CheckDeadUni("c1",0x2077)
|
||||
or CheckDeadUni("c5",0x2087)
|
||||
if !(CheckDeadUni("c1",0x2077) ; Hochgestellte 7
|
||||
or CheckDeadUni("c5",0x2087) ; Tiefgestellte 7
|
||||
or CheckCompUni("r",0x2176) ; Römisch vii
|
||||
or CheckCompUni("R",0x2166)) ; Römisch VII
|
||||
outputChar(7,"$")
|
||||
|
@ -201,8 +192,8 @@ neo_8:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if Ebene12 {
|
||||
if!(CheckDeadUni("c1",0x2078)
|
||||
or CheckDeadUni("c5",0x2088)
|
||||
if !(CheckDeadUni("c1",0x2078) ; Hochgestellte 8
|
||||
or CheckDeadUni("c5",0x2088) ; Tiefgestellte 8
|
||||
or CheckCompUni("1",0x215B) ; 1/8
|
||||
or CheckCompUni("3",0x215C) ; 3/8
|
||||
or CheckCompUni("5",0x215D) ; 5/8
|
||||
|
@ -225,8 +216,8 @@ neo_9:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if Ebene12 {
|
||||
if!(CheckDeadUni("c1",0x2079)
|
||||
or CheckDeadUni("c5",0x2089)
|
||||
if !(CheckDeadUni("c1",0x2079) ; Hochgestellte 9
|
||||
or CheckDeadUni("c5",0x2089) ; Tiefgestellte 9
|
||||
or CheckCompUni("r",0x2178) ; Römisch ix
|
||||
or CheckCompUni("R",0x2168)) ; Römisch IX
|
||||
outputChar(9,"“")
|
||||
|
@ -245,8 +236,9 @@ neo_0:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if Ebene12 {
|
||||
if!(CheckDeadUni("c1",0x2070)
|
||||
or CheckDeadUni("c5",0x2080) ; Römisch x
|
||||
if !(CheckDeadUni("c1",0x2070) ; Hochgestellte 0
|
||||
or CheckDeadUni("c5",0x2080) ; Tiefgestellte 0
|
||||
or CheckDeadUni("r_1",0x2177) ; Römisch x
|
||||
or CheckComp3Uni("R_1",0x2169)) ; Römisch X
|
||||
outputChar(0,"”")
|
||||
checkComp(0)
|
||||
|
@ -325,8 +317,7 @@ neo_v:
|
|||
OutputChar("v","V")
|
||||
else if (Ebene = 3)
|
||||
send {blind}_
|
||||
else if(Ebene = 4)
|
||||
if(not(lernModus) or lernModus_neo_Backspace)
|
||||
else if (Ebene = 4) and (!lernModus or lernModus_neo_Backspace)
|
||||
Send {blind}{Backspace}
|
||||
else if (Ebene = 6)
|
||||
SendUnicodeChar(0x2259) ; estimates
|
||||
|
@ -341,7 +332,9 @@ neo_l:
|
|||
or CheckDeadUni12("c2",0x013E,0x013D)
|
||||
or CheckDeadUni12("c4",0x0140,0x013F)
|
||||
or CheckDeadUni12("c6",0x1E37,0x1E36)
|
||||
or CheckDeadUni12("t4",0x0142,0x0141)))
|
||||
or CheckDeadUni12("t4",0x0142,0x0141)
|
||||
or CheckCompUni("f",0xFB02)
|
||||
or CheckCompUni("F",0xFB04)))
|
||||
OutputChar("l","L")
|
||||
else if (Ebene = 3)
|
||||
send {blind}[
|
||||
|
@ -442,7 +435,8 @@ return
|
|||
neo_f:
|
||||
EbeneAktualisieren()
|
||||
if (Ebene12 and !(CheckDeadUni12("a4",0x1E1F,0x1E1E)
|
||||
or CheckDeadUni12("t4",0x0192,0x0191)))
|
||||
or CheckDeadUni12("t4",0x0192,0x0191)
|
||||
or CheckCompUni("f",0xFB00)))
|
||||
OutputChar("f","F")
|
||||
else if ((Ebene = 3) and !(CheckDeadUni("a6",0x2257) ; ring equal to
|
||||
or CheckDeadUni("c1",0x2259) ; entspricht
|
||||
|
@ -478,26 +472,18 @@ return
|
|||
neo_sz:
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1)
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
SendUnicodeChar(0x1E9E) ; versal-ß
|
||||
else if LangSTastatur
|
||||
send {blind}s
|
||||
else
|
||||
send ß
|
||||
else if(Ebene = 2)
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
if LangSTastatur
|
||||
send {blind}s
|
||||
else
|
||||
send ß
|
||||
else
|
||||
outputChar("s","")
|
||||
else send ß
|
||||
else if (Ebene = 2)
|
||||
SendUnicodeChar(0x1E9E) ; versal-ß
|
||||
else if (Ebene = 3)
|
||||
if LangSTastatur
|
||||
send ß
|
||||
else
|
||||
else {
|
||||
SendUnicodeChar(0x017F) ; langes s
|
||||
else if(Ebene = 5)
|
||||
CheckComp("lang_s")
|
||||
} else if (Ebene = 5)
|
||||
SendUnicodeChar(0x03C2) ; varsigma
|
||||
else if (Ebene = 6)
|
||||
SendUnicodeChar(0x2218) ; Verknüpfungsoperator
|
||||
|
@ -507,33 +493,24 @@ return
|
|||
neo_tot3:
|
||||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
deadUni(0x02DC) ; Tilde, tot
|
||||
DeadKey := "t1"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
{
|
||||
} else if (Ebene = 2) {
|
||||
deadUni(0x00AF) ; Macron, tot
|
||||
DeadKey := "t2"
|
||||
}
|
||||
else if(Ebene = 3)
|
||||
{
|
||||
} else if (Ebene = 3) {
|
||||
deadUni(0x00A8) ; Diärese
|
||||
DeadKey := "t3"
|
||||
}
|
||||
else if(Ebene = 4)
|
||||
{
|
||||
} else if Ebene7
|
||||
SendUnicodeChar(0x0308) ; Verbindungszeichen Diärese
|
||||
else if (Ebene = 4) {
|
||||
deadUni(0x002F) ; Schrägstrich, tot
|
||||
DeadKey := "t4"
|
||||
}
|
||||
else if(Ebene = 5)
|
||||
{
|
||||
} else if (Ebene = 5) {
|
||||
deadUni(0x02DD) ; Doppelakut
|
||||
DeadKey := "t5"
|
||||
}
|
||||
else if(Ebene = 6)
|
||||
{
|
||||
} else if (Ebene = 6) {
|
||||
deadUni(0x02CF) ; Komma drunter, tot
|
||||
DeadKey := "t6"
|
||||
}
|
||||
|
@ -565,12 +542,10 @@ neo_u:
|
|||
send {blind}\
|
||||
else if (Ebene = 4)
|
||||
Send {blind}{Home}
|
||||
else if(Ebene = 5) ; leer
|
||||
{
|
||||
else if (Ebene = 5) { ; leer
|
||||
CompKey := PriorCompKey
|
||||
DeadKey := PriorDeadKey
|
||||
}
|
||||
else if(Ebene = 6)
|
||||
} else if (Ebene = 6)
|
||||
SendUnicodeChar(0x222E) ; contour integral
|
||||
return
|
||||
|
||||
|
@ -585,7 +560,9 @@ neo_i:
|
|||
or CheckDeadUni12("c3",0x012D,0x012C)
|
||||
or CheckDeadUni12("t1",0x0129,0x0128)
|
||||
or CheckDeadUni12("t2",0x012B,0x012A)
|
||||
or CheckDeadAsc12("t3","ï","Ï")))
|
||||
or CheckDeadAsc12("t3","ï","Ï")
|
||||
or CheckCompUni("f",0xFB01)
|
||||
or CheckCompUni("F",0xFB03)))
|
||||
OutputChar("i","I")
|
||||
else if (Ebene = 3)
|
||||
send {blind}`/
|
||||
|
@ -629,6 +606,7 @@ neo_e:
|
|||
or CheckDeadUni12("c1",0x00EA,0x00CA)
|
||||
or CheckDeadUni12("c2",0x011B,0x011A)
|
||||
or CheckDeadUni12("c3",0x0115,0x0114)
|
||||
or CheckDeadUni12("t1",0x1EBD,0x1EBC)
|
||||
or CheckDeadUni12("t2",0x0113,0x0112)
|
||||
or CheckDeadAsc12("t3","ë","Ë")
|
||||
or CheckCompAsc12("a","æ","Æ")
|
||||
|
@ -679,52 +657,11 @@ neo_s:
|
|||
or CheckDeadUni12("c2",0x0161,0x0160)
|
||||
or CheckDeadUni12("c6",0x1E63,0x1A62)))
|
||||
{
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if LangSTastatur
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
{
|
||||
send {blind}s
|
||||
if(PriorDeadKey = "comp")
|
||||
Compkey := "s"
|
||||
}
|
||||
else
|
||||
{
|
||||
if LangSTastatur and (Ebene = 1) {
|
||||
SendUnicodeChar(0x017F) ;langes S
|
||||
if(PriorDeadKey = "comp")
|
||||
CompKey := "lang_s"
|
||||
}
|
||||
else
|
||||
{
|
||||
send {blind}s
|
||||
if(PriorDeadKey = "comp")
|
||||
CompKey := "s"
|
||||
}
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
{
|
||||
if LangSTastatur
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
{
|
||||
SendUnicodeChar(0x017F) ;langes S
|
||||
if(PriorDeadKey = "comp")
|
||||
CompKey := "lang_s"
|
||||
}
|
||||
else
|
||||
{
|
||||
send {blind}S
|
||||
if(PriorDeadKey = "comp")
|
||||
CompKey := "s"
|
||||
}
|
||||
else
|
||||
{
|
||||
send {blind}S
|
||||
if(PriorDeadKey = "comp")
|
||||
CompKey := "S"
|
||||
}
|
||||
}
|
||||
}
|
||||
else if(Ebene = 3)
|
||||
CheckComp("lang_s")
|
||||
} else outputChar("s","S")
|
||||
} else if (Ebene = 3)
|
||||
send {blind}?
|
||||
else if (Ebene = 4)
|
||||
Send ¿
|
||||
|
@ -780,7 +717,9 @@ neo_t:
|
|||
or CheckDeadUni12("a4",0x1E6B,0x1E6A)
|
||||
or CheckDeadUni12("c2",0x0165,0x0164)
|
||||
or CheckDeadUni12("c5",0x0167,0x0166)
|
||||
or CheckDeadUni12("c6",0x1E6D,0x1E6C)))
|
||||
or CheckDeadUni12("c6",0x1E6D,0x1E6C)
|
||||
or CheckCompUni("lang_s",0xFB05)
|
||||
or CheckCompUni("s",0xFB06)))
|
||||
OutputChar("t","T")
|
||||
else if (Ebene = 3)
|
||||
send {blind}- ; Bisstrich
|
||||
|
@ -844,12 +783,10 @@ neo_
|
|||
send {#}
|
||||
else if (Ebene = 4)
|
||||
Send {blind}{Esc}
|
||||
else if(Ebene = 5) ; leer
|
||||
{
|
||||
else if (Ebene = 5) { ; leer
|
||||
DeadKey := PriorDeadKey
|
||||
CompKey := PriorCompKey
|
||||
}
|
||||
else if(Ebene = 6)
|
||||
} else if (Ebene = 6)
|
||||
SendUnicodeChar(0x221D) ; proportional
|
||||
return
|
||||
|
||||
|
@ -861,12 +798,10 @@ neo_
|
|||
send {blind}$
|
||||
else if (Ebene = 4)
|
||||
send {blind}{Tab}
|
||||
else if(Ebene = 5)
|
||||
{
|
||||
else if (Ebene = 5) { ; leer
|
||||
DeadKey := PriorDeadKey
|
||||
CompKey := PriorCompKey
|
||||
} ; leer
|
||||
else if(Ebene = 6)
|
||||
} else if (Ebene = 6)
|
||||
SendUnicodeChar(0x2111) ; Fraktur I
|
||||
return
|
||||
|
||||
|
@ -907,12 +842,10 @@ neo_z:
|
|||
OutputChar("z","Z")
|
||||
else if (Ebene = 3)
|
||||
send ``{space} ; untot
|
||||
else if(Ebene = 4)
|
||||
{
|
||||
else if (Ebene = 4) { ; leer
|
||||
DeadKey := PriorDeadKey
|
||||
CompKey := PriorCompKey
|
||||
} ; leer
|
||||
else if(Ebene = 5)
|
||||
} else if (Ebene = 5)
|
||||
SendUnicodeChar(0x03B6) ; zeta
|
||||
else if (Ebene = 6)
|
||||
SendUnicodeChar(0x2124) ; Z (ganze Zahlen)
|
||||
|
@ -954,7 +887,7 @@ neo_komma:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1)
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
if isMod2Locked
|
||||
send {blind}{Shift down} , {Shift up}
|
||||
else
|
||||
send {blind},
|
||||
|
@ -975,7 +908,7 @@ neo_punkt:
|
|||
noCaps = 1
|
||||
EbeneAktualisieren()
|
||||
if (Ebene = 1)
|
||||
if(GetKeyState("CapsLock","T"))
|
||||
if isMod2Locked
|
||||
send {blind}{Shift down} . {Shift up}
|
||||
else
|
||||
send {blind}.
|
||||
|
@ -1024,8 +957,7 @@ neo_NumLock:
|
|||
EbeneAktualisieren()
|
||||
if (Ebene = 1)
|
||||
send `=
|
||||
if(Ebene = 2) ; Funktioniert nicht
|
||||
{
|
||||
if (Ebene = 2) { ; Funktioniert nicht
|
||||
SetNumLockState
|
||||
send {NumLock}
|
||||
}
|
||||
|
@ -1081,16 +1013,14 @@ return
|
|||
|
||||
neo_Numpad7:
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
if NumLock
|
||||
send {blind}{Numpad7}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad7}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "7"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2020) ; Kreuz
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2195) ; Hoch-Runter-Pfeil
|
||||
|
@ -1106,16 +1036,14 @@ neo_Numpad8:
|
|||
if ((Ebene = 1) and !(CheckCompUni("1",0x215B) ; 1/8
|
||||
or CheckCompUni("3",0x215C) ; 3/8
|
||||
or CheckCompUni("5",0x215D) ; 5/8
|
||||
or CheckCompUni("7",0x215E))) ; 7/8
|
||||
{
|
||||
or CheckCompUni("7",0x215E))) { ; 7/8
|
||||
if NumLock
|
||||
send {blind}{Numpad8}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad8}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "8"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2229) ; Durchschnitt
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2191) ; Hochpfeil
|
||||
|
@ -1128,16 +1056,14 @@ return
|
|||
|
||||
neo_Numpad9:
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
if NumLock
|
||||
send {blind}{Numpad9}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad9}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "9"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2297) ; Tensorprodukt / Vektor in die Ebene zeigend
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x220D) ; Kleines umgekehrtes Elementzeichen
|
||||
|
@ -1151,16 +1077,14 @@ return
|
|||
neo_Numpad4:
|
||||
EbeneAktualisieren()
|
||||
if ((Ebene = 1) and !(CheckCompUni("1",0x00BC) ; 1/4
|
||||
or CheckCompUni("3",0x00BE))) ; 3/4
|
||||
{
|
||||
or CheckCompUni("3",0x00BE))) { ; 3/4
|
||||
if NumLock
|
||||
send {blind}{Numpad4}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad4}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "4"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2282) ; Teilmenge
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2190) ; Linkspfeil
|
||||
|
@ -1176,16 +1100,14 @@ neo_Numpad5:
|
|||
if ((Ebene = 1) and !(CheckCompUni("1",0x2155) ; 1/5
|
||||
or CheckCompUni("2",0x2156) ; 2/5
|
||||
or CheckCompUni("3",0x2157) ; 3/5
|
||||
or CheckCompUni("4",0x2158))) ; 4/5
|
||||
{
|
||||
or CheckCompUni("4",0x2158))) { ; 4/5
|
||||
if NumLock
|
||||
send {blind}{Numpad5}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad5}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "5"
|
||||
}
|
||||
else if(Ebene = 3)
|
||||
} else if (Ebene = 3)
|
||||
SendUnicodeChar(0x221E) ; Unendlich
|
||||
else if (Ebene = 2)
|
||||
SendUnicodeChar(0x20AC) ; Euro
|
||||
|
@ -1199,16 +1121,14 @@ return
|
|||
neo_Numpad6:
|
||||
EbeneAktualisieren()
|
||||
if ((Ebene = 1) and !(CheckCompUni("1",0x2159) ; 1/6
|
||||
or CheckCompUni("5",0x215a))) ; 5/6
|
||||
{
|
||||
or CheckCompUni("5",0x215a))) { ; 5/6
|
||||
if NumLock
|
||||
send {blind}{Numpad6}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad6}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "6"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2283) ; Obermenge
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2192) ; Rechtspfeil
|
||||
|
@ -1221,16 +1141,14 @@ return
|
|||
|
||||
neo_Numpad1:
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
if NumLock
|
||||
send {blind}{Numpad1}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad1}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "1"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2714) ; Häkchen
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2194) ; Links-Rechts-Pfeil
|
||||
|
@ -1243,16 +1161,14 @@ return
|
|||
|
||||
neo_Numpad2:
|
||||
EbeneAktualisieren()
|
||||
if((Ebene = 1) and !(CheckCompUni("1",0x00BD))) ; 1/2
|
||||
{
|
||||
if ((Ebene = 1) and !(CheckCompUni("1",0x00BD))) { ; 1/2
|
||||
if NumLock
|
||||
send {blind}{Numpad2}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad2}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "2"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x222A) ; Vereinigung
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2192) ; Untenpfeil
|
||||
|
@ -1266,16 +1182,14 @@ return
|
|||
neo_Numpad3:
|
||||
EbeneAktualisieren()
|
||||
if ((Ebene = 1) and !(CheckCompUni("1",0x2153) ; 1/3
|
||||
or CheckCompUni("5",0x2154))) ; 2/3
|
||||
{
|
||||
or CheckCompUni("5",0x2154))) { ; 2/3
|
||||
if NumLock
|
||||
send {blind}{Numpad3}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad3}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "3"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2718) ; Kreuzchen
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x2192) ; Rechtspfeil
|
||||
|
@ -1288,16 +1202,14 @@ return
|
|||
|
||||
neo_Numpad0:
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
if NumLock
|
||||
send {blind}{Numpad0}
|
||||
else
|
||||
send {blind) {Shift up}{Numpad0}
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := "0"
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
SendUnicodeChar(0x2030) ; Promille
|
||||
else if (Ebene = 3)
|
||||
SendUnicodeChar(0x0025) ; Prozent
|
||||
|
@ -1310,14 +1222,12 @@ return
|
|||
|
||||
neo_NumpadDot:
|
||||
EbeneAktualisieren()
|
||||
if(Ebene = 1)
|
||||
{
|
||||
if (Ebene = 1) {
|
||||
if NumLock
|
||||
send {blind}{NumpadDot}
|
||||
else
|
||||
send {blind) {Shift up}{NumpadDot}
|
||||
}
|
||||
else if(Ebene = 2)
|
||||
} else if (Ebene = 2)
|
||||
send `,
|
||||
else if (Ebene = 3)
|
||||
send {blind}.
|
||||
|
@ -1342,19 +1252,16 @@ return
|
|||
return
|
||||
|
||||
*space up::
|
||||
if((einHandNeo))
|
||||
{
|
||||
if ((einHandNeo)) {
|
||||
if ((keypressed))
|
||||
{
|
||||
keypressed := 0
|
||||
spacepressed := 0
|
||||
}
|
||||
else
|
||||
} else
|
||||
{
|
||||
goto neo_SpaceUp
|
||||
}
|
||||
}
|
||||
else
|
||||
} else
|
||||
{} ;do nothing
|
||||
return
|
||||
|
||||
|
@ -1384,20 +1291,16 @@ return
|
|||
*/
|
||||
|
||||
*Enter::
|
||||
if(not(lernModus) or lernModus_std_Return)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Return) {
|
||||
send {Blind}{Enter}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Backspace::
|
||||
if(not(lernModus) or lernModus_std_Backspace)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Backspace) {
|
||||
send {Blind}{Backspace}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Del::
|
||||
if (not(lernModus) or lernModus_std_Entf)
|
||||
|
@ -1414,79 +1317,59 @@ Auf Mod3+Tab liegt Compose.
|
|||
*/
|
||||
|
||||
neo_tab:
|
||||
if(IsMod3Pressed())
|
||||
{
|
||||
if (IsMod3Pressed()) {
|
||||
DeadKey := "comp"
|
||||
CompKey := ""
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
send {blind}{Tab}
|
||||
DeadKey := ""
|
||||
CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Home::
|
||||
if(not(lernModus) or lernModus_std_Pos1)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Pos1) {
|
||||
send {Blind}{Home}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*End::
|
||||
if(not(lernModus) or lernModus_std_Ende)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Ende) {
|
||||
send {Blind}{End}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*PgUp::
|
||||
if(not(lernModus) or lernModus_std_PgUp)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_PgUp) {
|
||||
send {Blind}{PgUp}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*PgDn::
|
||||
if(not(lernModus) or lernModus_std_PgDn)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_PgDn) {
|
||||
send {Blind}{PgDn}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Up::
|
||||
if(not(lernModus) or lernModus_std_Hoch)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Hoch) {
|
||||
send {Blind}{Up}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Down::
|
||||
if(not(lernModus) or lernModus_std_Runter)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Runter) {
|
||||
send {Blind}{Down}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Left::
|
||||
if(not(lernModus) or lernModus_std_Links)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Links) {
|
||||
send {Blind}{Left}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
||||
*Right::
|
||||
if(not(lernModus) or lernModus_std_Rechts)
|
||||
{
|
||||
if (not(lernModus) or lernModus_std_Rechts) {
|
||||
send {Blind}{Right}
|
||||
DeadKey := "" CompKey := ""
|
||||
}
|
||||
return
|
||||
} return
|
||||
|
|
|
@ -3,8 +3,9 @@
|
|||
QWERTZ->Neo umwandlung
|
||||
------------------------------------------------------
|
||||
*/
|
||||
|
||||
; Reihe 1
|
||||
*VKDCSC029::goto neo_tot1 ; Zirkumflex ^
|
||||
*VKDCSC029::goto neo_tot1 ; Zirkumflex
|
||||
*VK31SC002::goto neo_1
|
||||
*VK32SC003::goto neo_2
|
||||
*VK33SC004::goto neo_3
|
||||
|
@ -12,435 +13,266 @@
|
|||
*VK35SC006::goto neo_5
|
||||
*VK36SC007::goto neo_6
|
||||
*VK37SC008::
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if (!(einHandNeo) or !(spacepressed))
|
||||
goto neo_7
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_7%
|
||||
}
|
||||
*VK38SC009::
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_8
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_8%
|
||||
}
|
||||
*VK39SC00A::
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_9
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_9%
|
||||
}
|
||||
*VK30SC00B::
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_0
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_0%
|
||||
}
|
||||
*VKDBSC00C:: ; ß
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_strich
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_strich%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_sz
|
||||
}
|
||||
} else goto neo_sz
|
||||
*VKDDSC00D::goto neo_tot2 ; Akut
|
||||
|
||||
; Reihe 2
|
||||
|
||||
VK09SC00F::goto neo_tab
|
||||
*VK51SC010:: ; q (x)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_x
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_q
|
||||
}
|
||||
else goto neo_q
|
||||
*VK57SC011:: ; w (v)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_v
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_w
|
||||
}
|
||||
else goto neo_w
|
||||
*VK45SC012:: ; e (l)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_l
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_e
|
||||
}
|
||||
else goto neo_e
|
||||
*VK52SC013:: ; r (c)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_c
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_r
|
||||
}
|
||||
else goto neo_r
|
||||
*VK54SC014:: ; t (w)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_w
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_t
|
||||
}
|
||||
else goto neo_t
|
||||
*VK5ASC015:: ; z (k)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_k
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_k%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_z
|
||||
}
|
||||
else goto neo_z
|
||||
*VK55SC016:: ; u (h)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_h
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_h%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_u
|
||||
}
|
||||
} else goto neo_u
|
||||
*VK49SC017:: ; i (g)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_g
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_g%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_i
|
||||
}
|
||||
else goto neo_i
|
||||
*VK4FSC018:: ; o (f)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_f
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_f%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_o
|
||||
}
|
||||
else goto neo_o
|
||||
*VK50SC019:: ; p (q)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_q
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_q%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_p
|
||||
}
|
||||
else goto neo_p
|
||||
*VKBASC01A:: ; ü (ß)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_sz
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_sz%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_ü
|
||||
}
|
||||
} else goto neo_ü
|
||||
*VKBBSC01B:: ; + (tot3)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_tot3
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_tot3%
|
||||
}
|
||||
}
|
||||
else
|
||||
{ } ; this should never happen
|
||||
|
||||
; Reihe 3
|
||||
*VK41SC01E:: ; a (u)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_u
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_a
|
||||
}
|
||||
else goto neo_a
|
||||
*VK53SC01F:: ; s (i)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_i
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_s
|
||||
}
|
||||
else goto neo_s
|
||||
*VK44SC020:: ; d (a)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_a
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_d
|
||||
}
|
||||
else goto neo_d
|
||||
*VK46SC021:: ; f (e)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_e
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_f
|
||||
}
|
||||
else goto neo_f
|
||||
*VK47SC022:: ; g (o)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_o
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_g
|
||||
}
|
||||
else goto neo_g
|
||||
*VK48SC023:: ; h (s)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_s
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_s%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_h
|
||||
}
|
||||
} else goto neo_h
|
||||
*VK4ASC024:: ; j (n)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_n
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_n%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_j
|
||||
}
|
||||
} else goto neo_j
|
||||
*VK4BSC025:: ; k (r)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_r
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_r%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_k
|
||||
}
|
||||
} else goto neo_k
|
||||
*VK4CSC026:: ; l (t)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_t
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_t%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_l
|
||||
}
|
||||
} else goto neo_l
|
||||
*VKC0SC027:: ; ö (d)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_d
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_d%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_ö
|
||||
}
|
||||
} else goto neo_ö
|
||||
*VKDESC028:: ; ä (y)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_y
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_ä
|
||||
}
|
||||
else goto neo_ä
|
||||
|
||||
; Reihe 4
|
||||
*VK59SC02C:: ; y (ü)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_ü
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_y
|
||||
}
|
||||
else goto neo_y
|
||||
*VK58SC02D:: ; x (ö)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_ö
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_x
|
||||
}
|
||||
else goto neo_x
|
||||
*VK43SC02E:: ; c (ä)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_ä
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_c
|
||||
}
|
||||
else goto neo_c
|
||||
*VK56SC02F:: ; v (p)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_p
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_v
|
||||
}
|
||||
else goto neo_v
|
||||
*VK42SC030:: ; b (z)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if !ahkTreiberKombi
|
||||
goto neo_z
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_b
|
||||
}
|
||||
else goto neo_b
|
||||
*VK4ESC031:: ; n (b)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_b
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_b%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_n
|
||||
}
|
||||
} else goto neo_n
|
||||
*VK4DSC032:: ; m (m)
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_m
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_m%
|
||||
}
|
||||
*VKBCSC033:: ; , (,)
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_komma
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_komma%
|
||||
}
|
||||
*VKBESC034:: ; . (.)
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_punkt
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_punkt%
|
||||
}
|
||||
*VKBDSC035:: ; - (j)
|
||||
if ( not(ahkTreiberKombi) )
|
||||
{
|
||||
if( not(einHandNeo) or not(spacepressed) )
|
||||
if !ahkTreiberKombi {
|
||||
if(!(einHandNeo) or !(spacepressed))
|
||||
goto neo_j
|
||||
else
|
||||
{
|
||||
else {
|
||||
keypressed := 1
|
||||
goto %gespiegelt_j%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
goto neo_strich
|
||||
}
|
||||
} else goto neo_strich
|
||||
|
||||
; Numpad
|
||||
*VK90SC145::goto neo_NumLock
|
||||
|
@ -449,36 +281,25 @@ VK09SC00F::goto neo_tab
|
|||
*VK6DSC04A::goto neo_NumpadSub
|
||||
*VK6BSC04E::goto neo_NumpadAdd
|
||||
*VK0DSC11C::goto neo_NumpadEnter
|
||||
|
||||
*VK67SC047:: ; NumPad7 (mit NumLock und ohne Shift)
|
||||
*VK24SC047::goto neo_Numpad7 ; NumPadHome (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK68SC048:: ; NumPad8 (mit NumLock und ohne Shift)
|
||||
*VK26SC048::goto neo_Numpad8 ; NumPadUp (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK69SC049:: ; NumPad9 (mit NumLock und ohne Shift)
|
||||
*VK21SC049::goto neo_Numpad9 ; NumPadPgUp (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK64SC04B:: ; NumPad4 (mit NumLock und ohne Shift)
|
||||
*VK25SC04B::goto neo_Numpad4 ; NumPadLeft (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK65SC04C:: ; NumPad5 (mit NumLock und ohne Shift)
|
||||
*VK0CSC04C::goto neo_Numpad5 ; NumPadClear(ohne Numlock oder mit Shift)
|
||||
|
||||
*VK66SC04D:: ; NumPad6 (mit NumLock und ohne Shift)
|
||||
*VK27SC04D::goto neo_Numpad6 ; NumPadRight(ohne Numlock oder mit Shift)
|
||||
|
||||
*VK61SC04F:: ; NumPad1 (mit NumLock und ohne Shift)
|
||||
*VK23SC04F::goto neo_Numpad1 ; NumPadEnd (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK62SC050:: ; NumPad2 (mit NumLock und ohne Shift)
|
||||
*VK28SC050::goto neo_Numpad2 ; NumPadDown (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK63SC051:: ; NumPad3 (mit NumLock und ohne Shift)
|
||||
*VK22SC051::goto neo_Numpad3 ; NumPadPgDn (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK60SC052:: ; NumPad0 (mit NumLock und ohne Shift)
|
||||
*VK2DSC052::goto neo_Numpad0 ; NumPadIns (ohne Numlock oder mit Shift)
|
||||
|
||||
*VK6ESC053:: ; NumPadDot (mit NumLock und ohne Shift)
|
||||
*VK2ESC053::goto neo_NumpadDot ; NumPadIns (ohne Numlock oder mit Shift)
|
||||
*VK67SC047:: ; NumPad7
|
||||
*VK24SC047::goto neo_Numpad7 ; NumPadHome
|
||||
*VK68SC048:: ; NumPad8
|
||||
*VK26SC048::goto neo_Numpad8 ; NumPadUp
|
||||
*VK69SC049:: ; NumPad9
|
||||
*VK21SC049::goto neo_Numpad9 ; NumPadPgUp
|
||||
*VK64SC04B:: ; NumPad4
|
||||
*VK25SC04B::goto neo_Numpad4 ; NumPadLeft
|
||||
*VK65SC04C:: ; NumPad5
|
||||
*VK0CSC04C::goto neo_Numpad5 ; NumPadClear
|
||||
*VK66SC04D:: ; NumPad6
|
||||
*VK27SC04D::goto neo_Numpad6 ; NumPadRight
|
||||
*VK61SC04F:: ; NumPad1
|
||||
*VK23SC04F::goto neo_Numpad1 ; NumPadEnd
|
||||
*VK62SC050:: ; NumPad2
|
||||
*VK28SC050::goto neo_Numpad2 ; NumPadDown
|
||||
*VK63SC051:: ; NumPad3
|
||||
*VK22SC051::goto neo_Numpad3 ; NumPadPgDn
|
||||
*VK60SC052:: ; NumPad0
|
||||
*VK2DSC052::goto neo_Numpad0 ; NumPadIns
|
||||
*VK6ESC053:: ; NumPadDot
|
||||
*VK2ESC053::goto neo_NumpadDot ; NumPadIns
|
||||
|
|
|
@ -140,5 +140,3 @@ IsMod4Pressed()
|
|||
else
|
||||
return ( GetKeyState("<","P") or GetKeyState("SC138","P") or GetKeyState("ä","P"))
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -105,7 +105,3 @@ InsertIntegerLED(pInteger, ByRef pDest, pOffset = 0, pSize = 4){
|
|||
Loop %pSize% ; Copy each byte in the integer into the structure as raw binary data.
|
||||
DllCall("RtlFillMemory", "UInt", &pDest + pOffset + A_Index-1, "UInt", 1, "UChar", pInteger >> 8*(A_Index-1) & 0xFF)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
deadAsc(val) {
|
||||
global
|
||||
if!(DeadSilence)
|
||||
if !DeadSilence
|
||||
send % val
|
||||
}
|
||||
|
||||
deadUni(val) {
|
||||
global
|
||||
if!(DeadSilence)
|
||||
if !DeadSilence
|
||||
SendUnicodeChar(val)
|
||||
}
|
||||
|
||||
undeadAsc(val) {
|
||||
global
|
||||
if(DeadSilence)
|
||||
if DeadSilence
|
||||
send % val
|
||||
else
|
||||
send % "{bs}" . val
|
||||
|
@ -20,7 +20,7 @@ undeadAsc(val){
|
|||
|
||||
undeadUni(val){
|
||||
global
|
||||
if!(DeadSilence)
|
||||
if !DeadSilence
|
||||
send {bs}
|
||||
SendUnicodeChar(val)
|
||||
}
|
||||
|
@ -44,10 +44,10 @@ CheckDeadUni(d,val){
|
|||
CheckDeadAsc12(d,val1,val2) {
|
||||
global
|
||||
if (PriorDeadKey == d){
|
||||
if((Ebene = 1) and (val1 != "")){
|
||||
if (Ebene = 1) and (val1 != "") {
|
||||
undeadAsc(val1)
|
||||
return 1
|
||||
}else if((Ebene = 2) and (val2 != "")){
|
||||
} else if (Ebene = 2) and (val2 != "") {
|
||||
undeadAsc(val2)
|
||||
return 1
|
||||
} else return 0
|
||||
|
@ -57,10 +57,10 @@ CheckDeadAsc12(d,val1,val2){
|
|||
CheckDeadUni12(d,val1,val2) {
|
||||
global
|
||||
if(PriorDeadKey == d) {
|
||||
if((Ebene = 1) and (val1 != "")){
|
||||
if (Ebene = 1) and (val1 != "") {
|
||||
undeadUni(val1)
|
||||
return 1
|
||||
}else if((Ebene = 2) and (val2 != "")){
|
||||
} else if (Ebene = 2) and (val2 != "") {
|
||||
undeadUni(val2)
|
||||
return 1
|
||||
} else return 0
|
||||
|
@ -69,35 +69,33 @@ CheckDeadUni12(d,val1,val2){
|
|||
|
||||
compAsc(val) {
|
||||
global
|
||||
if!(DeadCompose)
|
||||
if !DeadCompose
|
||||
send % val
|
||||
}
|
||||
|
||||
compUni(val) {
|
||||
global
|
||||
if!(DeadCompose)
|
||||
if !DeadCompose
|
||||
SendUnicodeChar(val)
|
||||
}
|
||||
|
||||
uncompAsc(val) {
|
||||
global
|
||||
if(DeadCompose)
|
||||
if DeadCompose
|
||||
send % val
|
||||
else send % "{bs}" . val
|
||||
}
|
||||
|
||||
uncompUni(val)
|
||||
{
|
||||
uncompUni(val) {
|
||||
global
|
||||
if!(DeadCompose)
|
||||
if !DeadCompose
|
||||
send {bs}
|
||||
SendUnicodeChar(val)
|
||||
}
|
||||
|
||||
uncomp3Uni(val)
|
||||
{
|
||||
uncomp3Uni(val) {
|
||||
global
|
||||
if!(DeadCompose)
|
||||
if !DeadCompose
|
||||
send {bs}{bs}
|
||||
SendUnicodeChar(val)
|
||||
}
|
||||
|
@ -113,10 +111,10 @@ CheckCompAsc(d,val){
|
|||
CheckCompAsc12(d,val1,val2) {
|
||||
global
|
||||
if (PriorCompKey == d)
|
||||
if((Ebene = 1) and (val1 != "")){
|
||||
if (Ebene = 1) and (val1 != "") {
|
||||
uncompAsc(val1)
|
||||
return 1
|
||||
}else if((Ebene = 2) and (val2 != "")){
|
||||
} else if (Ebene = 2) and (val2 != "") {
|
||||
uncompAsc(val2)
|
||||
return 1
|
||||
} else return 0
|
||||
|
@ -134,10 +132,10 @@ CheckCompUni(d,val){
|
|||
CheckCompUni12(d,val1,val2){
|
||||
global
|
||||
if (PriorCompKey == d) {
|
||||
if ((Ebene = 1) and (val1 != "")){
|
||||
if (Ebene = 1) and (val1 != "") {
|
||||
uncompUni(val1)
|
||||
return 1
|
||||
}else if((Ebene = 2) and (val2 != "")){
|
||||
}else if (Ebene = 2) and (val2 != "") {
|
||||
uncompUni(val2)
|
||||
return 1
|
||||
} else return 0
|
||||
|
@ -155,10 +153,10 @@ CheckComp3Uni(d,val){
|
|||
CheckComp3Uni12(d,val1,val2) {
|
||||
global
|
||||
if (PriorCompKey == d) {
|
||||
if((Ebene = 1) and (val1 != "")){
|
||||
if (Ebene = 1) and (val1 != "") {
|
||||
uncomp3Uni(val1)
|
||||
return 1
|
||||
}else if((Ebene = 2) and (val2 != "")){
|
||||
} else if (Ebene = 2) and (val2 != "") {
|
||||
uncomp3Uni(val2)
|
||||
return 1
|
||||
} else return 0
|
||||
|
@ -169,12 +167,10 @@ outputChar(val1,val2){
|
|||
global
|
||||
if (Ebene = 1)
|
||||
c := val1
|
||||
else
|
||||
c := val2
|
||||
else c := val2
|
||||
if GetKeyState("Shift","P") and isMod2Locked
|
||||
send % "{blind}{Shift Up}" . c . "{Shift Down}"
|
||||
else
|
||||
send % "{blind}" . c
|
||||
else send % "{blind}" . c
|
||||
if (PriorDeadKey = "comp")
|
||||
CompKey := c
|
||||
}
|
||||
|
|
|
@ -166,4 +166,3 @@ ToggleAlwaysOnTop:
|
|||
alwaysOnTop = 1
|
||||
}
|
||||
Return
|
||||
|
||||
|
|
|
@ -28,4 +28,3 @@ SendUnicodeChar(charCode){
|
|||
EncodeInteger(ref,val){
|
||||
DllCall("ntdll\RtlFillMemoryUlong","Uint",ref,"Uint",4,"Uint",val)
|
||||
}
|
||||
|
||||
|
|
|
@ -35,5 +35,3 @@ Das war die letzte WARNUNG, ich hoffe nur dass
|
|||
Sie wirklich wissen was Sie hier tun wollen ...
|
||||
*******************************************
|
||||
*/
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue