summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--windows/neo-vars/src/source/qwertz.ahk15
1 files changed, 15 insertions, 0 deletions
diff --git a/windows/neo-vars/src/source/qwertz.ahk b/windows/neo-vars/src/source/qwertz.ahk
index f43955c..4da54ee 100644
--- a/windows/neo-vars/src/source/qwertz.ahk
+++ b/windows/neo-vars/src/source/qwertz.ahk
@@ -28,10 +28,25 @@ CharProcQwerT0() {
Change1256LayoutNeo20()
}
+CharProcQwerts() {
+ global
+
+ if (isQwertz == 0)
+ IniDelete,%ini%,Global,isQwertz
+ else
+ IniWrite,%isQwertz%,%ini%,Global,isQwertz
+
+ if ErrorLevel
+ TrayTip,Qwertz-Belegungsvariante,Beim Speichern der Variante ist ein Fehler aufgetreten.,10,1
+ else if (zeigeModusBox)
+ TrayTip,Qwertz-Belegungsvariante,Variante gespeichert.,10,1
+}
+
ActivateQwertz() {
global
CP3F6 := "PQwertt" ; M3+F6: Aktiviere/Deaktiviere QWERTZ
+ CP4F6 := "PQwerts" ; M4+F6: Speichere QWERTZ
IniRead,isQwertz,%ini%,Global,isQwertz,0
if (isQwertz == 1)