summaryrefslogtreecommitdiff
path: root/windows/neo-vars/src/source
diff options
context:
space:
mode:
authormösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-12-15 17:06:50 +0000
committermösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2010-12-15 17:06:50 +0000
commite6045921ce42972aab9d000f71100dcf493d57ff (patch)
tree75b593f922b945a716f5be681a3c079e06339535 /windows/neo-vars/src/source
parentcd2b21e7a4e88fd16c384f0d08f59b0530c75477 (diff)
downloadneo-layout-e6045921ce42972aab9d000f71100dcf493d57ff.tar.gz
neo-layout-e6045921ce42972aab9d000f71100dcf493d57ff.tar.bz2
neo-layout-e6045921ce42972aab9d000f71100dcf493d57ff.zip
• +AdNW, +Rotation Neo→NordTast→AdNW mit M3+F12.
git-svn-id: https://svn.neo-layout.org@2358 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars/src/source')
-rw-r--r--windows/neo-vars/src/source/nordtast.ahk57
1 files changed, 52 insertions, 5 deletions
diff --git a/windows/neo-vars/src/source/nordtast.ahk b/windows/neo-vars/src/source/nordtast.ahk
index b12dc20..e2dcb60 100644
--- a/windows/neo-vars/src/source/nordtast.ahk
+++ b/windows/neo-vars/src/source/nordtast.ahk
@@ -1,17 +1,23 @@
; -*- encoding:utf-8 -*-
; NordTast. Belegung von Ulf Bro, http://www.nordtast.org/
+; Aus der Neo-Welt (AdNW) von Andreas Wettstein, http://wettstae.home.solnet.ch/
; (c) 2010 Matthias Wächter
-
CharProcNordTt() {
global
; Custom Layout togglen
- isNordTast := !(isNordTast)
- if (isNordTast) {
+ if (isNordTast == 0) {
+ isNordTast := 1
CharProcNordT1()
if (zeigeModusBox)
- TrayTip,NordTast-Belegungsvariante,Die Belegungsvariante wurde aktiviert. Zum Deaktivieren`, Mod3+F12 druecken.,10,1
+ TrayTip,NordTast-Belegungsvariante,Die Belegungsvariante NT wurde aktiviert. Zum Umschalten`, Mod3+F12 druecken.,10,1
+ } else if (isNordTast == 1) {
+ isNordTast := 2
+ CharProcNordT2()
+ if (zeigeModusBox)
+ TrayTip,NordTast-Belegungsvariante,Die Belegungsvariante AdNW wurde aktiviert. Zum Umschalten`, Mod3+F12 druecken.,10,1
} else {
+ isNordTast := 0
CharProcNordT0()
if (zeigeModusBox)
TrayTip,NordTast-Belegungsvariante,Die Belegungsvariante wurde deaktiviert.,10,1
@@ -57,6 +63,45 @@ CharProcNordT1() {
ED12("035",1,"j","J")
}
+CharProcNordT2() {
+ global
+ ; Tastaturbelegungsvariante Aus der Neo-Welt (AdNW) aktivieren
+ ED12("010",1,"k","K")
+ ED12("011",1,"u","U")
+ ED12("012",1,"ü","Ü")
+ ED12("013",0,".","•")
+ ED12("014",1,"ä","Ä")
+ ED12("015",1,"v","V")
+ ED12("016",1,"g","G")
+ ED12("017",1,"c","C")
+ ED12("018",1,"l","L")
+ ED12("019",1,"j","J")
+ ED12("01A",1,"f","F")
+
+ ED12("01E",1,"h","H")
+ ED12("01F",1,"i","I")
+ ED12("020",1,"e","E")
+ ED12("021",1,"a","A")
+ ED12("022",1,"o","O")
+ ED12("023",1,"d","D")
+ ED12("024",1,"t","T")
+ ED12("025",1,"r","R")
+ ED12("026",1,"n","N")
+ ED12("027",1,"s","S")
+ ED12("028",1,"ß","ẞ")
+
+ ED12("02C",1,"x","X")
+ ED12("02D",1,"y","Y")
+ ED12("02E",1,"ö","Ö")
+ ED12("02F",0,",","–")
+ ED12("030",1,"q","Q")
+ ED12("031",1,"b","B")
+ ED12("032",1,"p","P")
+ ED12("033",1,"w","W")
+ ED12("034",1,"m","M")
+ ED12("035",1,"z","Z")
+}
+
CharProcNordT0() {
global
; Tastaturbelegungsvariante deaktivieren
@@ -102,8 +147,10 @@ ActivateNordTast() {
CP3F12 := "PNordTt" ; M3+F12: Aktiviere/Deaktiviere NordTast
IniRead,isNordTast,%ini%,Global,isNordTast,0
- if (isNordTast)
+ if (isNordTast == 1)
CharProcNordT1()
+ else if (isNordTast == 2)
+ CharProcNordT2()
}
ActivateNordTast()