summaryrefslogtreecommitdiff
path: root/windows/XP/autohotkey/neo20-remap.ahk
diff options
context:
space:
mode:
Diffstat (limited to 'windows/XP/autohotkey/neo20-remap.ahk')
-rw-r--r--windows/XP/autohotkey/neo20-remap.ahk45
1 files changed, 45 insertions, 0 deletions
diff --git a/windows/XP/autohotkey/neo20-remap.ahk b/windows/XP/autohotkey/neo20-remap.ahk
new file mode 100644
index 0000000..5b93522
--- /dev/null
+++ b/windows/XP/autohotkey/neo20-remap.ahk
@@ -0,0 +1,45 @@
+/*
+ Umbelegung von AltGr auf CapsLock und #,
+ dafür Mod5 auf AltGr und <
+*/
+
+#singleinstance force
+#usehook on
+
+name = Umbelegung AltGr und Mod5
+menu, tray, tip, %name%
+
+; Für 3. und 4. Ebene:
+; CapsLock und # (SC02B) werden zu AltGr (SC138):
+
+*CapsLock::
+*SC02B::
+Send {SC138 Down}
+return
+
+*CapsLock Up::
+*SC02B Up::
+Send {SC138 Up}
+return
+
+
+; Für 5. und 6. Ebene:
+; < (SC056) und AltGr werden zu Win + Ctrl:
+;Code funktioniert noch nicht so ganz, manchmal kommt nur Control Down an, aber nicht das Up, dann bleibt Control aktiv - Lösung ist dann, einmal die normale Controltaste zu drücken
+; Was sonst noch helfen kann:
+; Nach dem Drücken des Modifiers einen kleinen Moment warten
+; Soll mehr als ein Buchstabe auf der 5.\6. Ebene geschrieben werden, zwischendurch den Modifier loslassen
+
+*SC056::
+*SC138::
+Send {RWin Down}
+Send {Control Down}
+return
+
+*SC056 Up::
+*SC138 Up::
+Send {Control Up}
+Send {RWin Up}
+return
+
+