From e6045921ce42972aab9d000f71100dcf493d57ff Mon Sep 17 00:00:00 2001 From: mösi Date: Wed, 15 Dec 2010 17:06:50 +0000 Subject: • +AdNW, +Rotation Neo→NordTast→AdNW mit M3+F12. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@2358 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/nordtast.ahk | 57 +++++++++++++++++++++++++++++--- 1 file changed, 52 insertions(+), 5 deletions(-) (limited to 'windows/neo-vars/src/source') 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() -- cgit v1.2.3