From b962619c1d382f88fb58043b04e6145f6609d27d Mon Sep 17 00:00:00 2001 From: mösi Date: Fri, 20 Feb 2009 13:08:39 +0000 Subject: NumLock (Ntab) einen „Beautified“ Namen gegeben, sodass wiemitneo diese Taste auch identifizierbar macht. Zusätzlich die Zeichen mit Beautification versehen, die mit SendUnicodeChar statt über Tastensequenzen geschickt werden (`, ^ und ́). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.neo-layout.org@1676 b9310e46-f624-0410-8ea1-cfbb3a30dc96 --- windows/neo-vars/src/source/shortcuts.ahk | 7 ++++++- windows/neo-vars/src/source/tools.ahk | 6 ++++-- 2 files changed, 10 insertions(+), 3 deletions(-) (limited to 'windows/neo-vars/src') diff --git a/windows/neo-vars/src/source/shortcuts.ahk b/windows/neo-vars/src/source/shortcuts.ahk index cc9f2ef..be9844d 100644 --- a/windows/neo-vars/src/source/shortcuts.ahk +++ b/windows/neo-vars/src/source/shortcuts.ahk @@ -248,4 +248,9 @@ CBTtlde := "Tilde" CBTmcrn := "Makron" CBTdrss := "Trema" CBTdbac := "Doppelakut" -CBTstrk := "Schrgstrich" \ No newline at end of file +CBTstrk := "Schrgstrich" + +CBU005E := "^" +CBU0060 := "``" +CBU00B4 := "" +CBCP1VK90SC145 := "Ntab" \ No newline at end of file diff --git a/windows/neo-vars/src/source/tools.ahk b/windows/neo-vars/src/source/tools.ahk index 22d97da..89130c1 100644 --- a/windows/neo-vars/src/source/tools.ahk +++ b/windows/neo-vars/src/source/tools.ahk @@ -564,7 +564,7 @@ SetFormat,Integer,d Gui,2:Font,,Dejavu Sans Gui,2:Add,Text,,% wmnk } else - Gui,2:Add,Text,,% "Als Tastendruck nicht verfuegbar" + Gui,2:Add,Text,,% "Als Tastendruck nicht verfgbar" Gui,2:Add, Button, Default xp+100 yp+40, OK Gui,2:Show @@ -590,7 +590,9 @@ KeyLong(key) { base_key_pos := "CP1" . substr(tis_wtt,4) base_key := %base_key_pos% - if (CB%base_key% != "") + if (CB%base_key_pos% != "") + base_key := CB%base_key_pos% + else if (CB%base_key% != "") base_key := CB%base_key% else if (CS%base_key% != "") base_key := CS%base_key% -- cgit v1.2.3