diff options
author | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-09-13 21:34:35 +0000 |
---|---|---|
committer | mösi <mösi@b9310e46-f624-0410-8ea1-cfbb3a30dc96> | 2009-09-13 21:34:35 +0000 |
commit | 93a30817cfaecb858fa72a5836f5bc40f6649b50 (patch) | |
tree | c09bec67c86eff3a596e3240823ad8637e9e655d /windows/neo-vars/src | |
parent | 09b99551d0dc9e93b5390b2e234b4c7915985c0b (diff) | |
download | neo-layout-93a30817cfaecb858fa72a5836f5bc40f6649b50.tar.gz neo-layout-93a30817cfaecb858fa72a5836f5bc40f6649b50.tar.bz2 neo-layout-93a30817cfaecb858fa72a5836f5bc40f6649b50.zip |
Support-Funktion ED12 für einfachere Belegungsanpassungen eingefügt. Darüber hinaus die Parameter für ED1 und ED1S der Nomenklatur angepasst.
git-svn-id: https://svn.neo-layout.org@2086 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows/neo-vars/src')
-rw-r--r-- | windows/neo-vars/src/source/keydefinitions.ahk | 25 |
1 files changed, 21 insertions, 4 deletions
diff --git a/windows/neo-vars/src/source/keydefinitions.ahk b/windows/neo-vars/src/source/keydefinitions.ahk index 197dd04..80f869c 100644 --- a/windows/neo-vars/src/source/keydefinitions.ahk +++ b/windows/neo-vars/src/source/keydefinitions.ahk @@ -211,14 +211,31 @@ EDS(scpos,caps,e1a,e2a,e3a,e4a,e5a,e6a,e7a="",e8a="") { ED(vksc%scpos%,caps,e1a,e2a,e3a,e4a,e5a,e6a,e7a,e8a)
}
-ED1(pos,e1) {
- ED(pos,0,e1,e1,e1,e1,e1,e1)
+ED1(pos,e1a) {
+ ED(pos,0,e1a,e1a,e1a,e1a,e1a,e1a)
}
-ED1S(scpos,e1) {
- EDS(scpos,0,e1,e1,e1,e1,e1,e1)
+ED1S(scpos,e1a) {
+ EDS(scpos,0,e1a,e1a,e1a,e1a,e1a,e1a)
}
+ED12(scpos,caps,e1a,e2a) {
+ global
+ pos := vksc%scpos%
+ e1 := EncodeUniComposeA(e1a)
+ e2 := EncodeUniComposeA(e2a)
+ if (caps == 0) {
+ NOC%pos% := 1
+ UNSH%e1% := 0
+ } else {
+ NOC%pos% := 0
+ UNSH%e1% := 1 ; unshift wenn caps lock + Shift?
+ }
+ SetKeyPos("CP1" . pos, e1)
+ SetKeyPos("CP2" . pos, e2)
+}
+
+
Comp := ""
; RegisterAndHookSC
|