summaryrefslogtreecommitdiff
path: root/windows
diff options
context:
space:
mode:
authormartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-18 23:59:03 +0000
committermartin_r <martin_r@b9310e46-f624-0410-8ea1-cfbb3a30dc96>2008-08-18 23:59:03 +0000
commitbfa3d69173bba606333e10cf66288b8b258b02ad (patch)
tree56fbac0c573b7c54d37fa9fe34c47152b8f80c10 /windows
parente9a5890cbe15c9a49012138b76f5b47d40fb7780 (diff)
downloadneo-layout-bfa3d69173bba606333e10cf66288b8b258b02ad.tar.gz
neo-layout-bfa3d69173bba606333e10cf66288b8b258b02ad.tar.bz2
neo-layout-bfa3d69173bba606333e10cf66288b8b258b02ad.zip
CapsLock+Shift-Fehler ausgebessert
git-svn-id: https://svn.neo-layout.org@778 b9310e46-f624-0410-8ea1-cfbb3a30dc96
Diffstat (limited to 'windows')
-rw-r--r--windows/autohotkey/Changelog-and-Todo.txt9
-rw-r--r--windows/autohotkey/Source/Methods-Layers.ahk11
-rw-r--r--windows/autohotkey/Source/Methods-Other.ahk5
-rw-r--r--windows/autohotkey/neo20.ahk16
-rw-r--r--windows/autohotkey/neo20.exebin424411 -> 424459 bytes
5 files changed, 32 insertions, 9 deletions
diff --git a/windows/autohotkey/Changelog-and-Todo.txt b/windows/autohotkey/Changelog-and-Todo.txt
index 74e91c7..fcc4b47 100644
--- a/windows/autohotkey/Changelog-and-Todo.txt
+++ b/windows/autohotkey/Changelog-and-Todo.txt
@@ -16,19 +16,18 @@ Matthias Wächter <matthias (at) waechter.wiz. a t>
- Ausgiebig testen... (besonders Vollständigkeit bei Deadkeys).
- Compose vollständig implementieren (Welche Methode ist hierzu am besten geeignet?).
- Bessere Lösung für das Leeren von PriorDeadKey finden, damit die Sondertasten nicht mehr abgefangen werden müssen.
-- Testen, ob die Capslocklösung (siehe *1:: Ebene 1) auch für Numpad gebraucht wird.
-- Die Ebenen vom Tastenblock an die neue Referenz anpassen (wenn da ein Konsens gefunden wurde).
- Blindes Compose implementieren.
-- CompKey in Abhängigkeit von CapsLock setzen.
- CapsLock-Abhängigkeiten entfernen.
=== Ideen und Vorschläge ===
- Modi für vertauschte Ziffern in der Zahlenreihe und auf der 4. Ebene.
- Die Compose-Kombinationen sollten automatisch aus den Referenzdateien im Compose-Verzeichnis erzeugt werden.
-
=== Änderungshistorie ===
-
+Revision 778 (von Martin Roppelt)
+- CapsLock+Shift-Fehler au?gebessert
+Revision 777 (von Martin Roppelt)
+- Syntaxfehler ausgebessert
Revision 776 (von Martin Roppelt)
- Global-Part.ahk, Keys-Neo.ahk: ZeigeLockBoxen in ZeigeLockBox umbenannt.
- Keys-Neo.ahk: Fehler ausgebessert, Quelltext neu ausgerichtet, Numpad an die Referenz angeglichen, Ebenen 7 und 8 ergänzt;
diff --git a/windows/autohotkey/Source/Methods-Layers.ahk b/windows/autohotkey/Source/Methods-Layers.ahk
index b13edfc..2d4e6e2 100644
--- a/windows/autohotkey/Source/Methods-Layers.ahk
+++ b/windows/autohotkey/Source/Methods-Layers.ahk
@@ -110,7 +110,16 @@ EbeneAktualisieren()
IsShiftPressed()
{
global
- return ((GetKeyState("Shift","P")) = !(isMod2Locked)) ;xor
+ if GetKeyState("Shift","P")
+ if isMod2Locked
+ return 0
+ else
+ return 1
+ else
+ if isMod2Locked
+ return 1
+ else
+ return 0
}
IsMod3Pressed()
diff --git a/windows/autohotkey/Source/Methods-Other.ahk b/windows/autohotkey/Source/Methods-Other.ahk
index 610f763..dbd17d7 100644
--- a/windows/autohotkey/Source/Methods-Other.ahk
+++ b/windows/autohotkey/Source/Methods-Other.ahk
@@ -275,7 +275,10 @@ outputChar(val1,val2)
c := val1
else
c := val2
- send % "{blind}" . c
+ if GetKeyState("Shift","P") and isMod2Locked
+ send % "{blind}{Shift Up}" . c . "{Shift Down}"
+ else
+ send % "{blind}" . c
if (PriorDeadKey = "comp")
CompKey := c
}
diff --git a/windows/autohotkey/neo20.ahk b/windows/autohotkey/neo20.ahk
index b409ef0..1211701 100644
--- a/windows/autohotkey/neo20.ahk
+++ b/windows/autohotkey/neo20.ahk
@@ -467,7 +467,16 @@ EbeneAktualisieren()
IsShiftPressed()
{
global
- return ((GetKeyState("Shift","P")) = !(isMod2Locked)) ;xor
+ if GetKeyState("Shift","P")
+ if isMod2Locked
+ return 0
+ else
+ return 1
+ else
+ if isMod2Locked
+ return 1
+ else
+ return 0
}
IsMod3Pressed()
@@ -3004,7 +3013,10 @@ outputChar(val1,val2)
c := val1
else
c := val2
- send % "{blind}" . c
+ if GetKeyState("Shift","P") and isMod2Locked
+ send % "{blind}{Shift Up}" . c . "{Shift Down}"
+ else
+ send % "{blind}" . c
if (PriorDeadKey = "comp")
CompKey := c
}
diff --git a/windows/autohotkey/neo20.exe b/windows/autohotkey/neo20.exe
index b02d44d..a9941d1 100644
--- a/windows/autohotkey/neo20.exe
+++ b/windows/autohotkey/neo20.exe
Binary files differ