]> shimmer.witbreuk.eu Git - UltimateKEYS.git/commitdiff
Add files via upload
authorPieter Degroote <pieter-degroote@users.noreply.github.com>
Fri, 7 Feb 2025 21:56:20 +0000 (22:56 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Feb 2025 21:56:20 +0000 (22:56 +0100)
A small change has been made to cancel dead key input on Backspace or Escape.

autohotkey/UltimateKEYS (for AutoHotkey v1.1).ahk
autohotkey/UltimateKEYS (for AutoHotkey v2).ahk

index d6aae51435284c67547c814864232b0fe1425f7a..1427b2b5d4ecf8c9c51042a3b0d1a3815dafcc56 100644 (file)
@@ -1,6 +1,6 @@
 #requires AutoHotkey v1.1
 
 #requires AutoHotkey v1.1
 
-; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-01-29
+; UltimateKEYS (for AutoHotkey v1.1).ahk - 2025-02-06
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
@@ -21,10 +21,12 @@ ListLines Off   ; omits recently executed lines from history (for privacy and se
 
 SendMode Input  ; optimizes for faster and more reliable input
 
 
 SendMode Input  ; optimizes for faster and more reliable input
 
+global gEndKeys := "{bs}{esc}"  ; ends dead key input on Backspace or Escape
+
 
 ; Compose Key Sequences (declaration)
 
 
 ; Compose Key Sequences (declaration)
 
-compose := ComObjCreate("Scripting.Dictionary")
+global compose := ComObjCreate("Scripting.Dictionary")
 
 
 ; Compose :  Acute Accent
 
 
 ; Compose :  Acute Accent
@@ -1832,7 +1834,7 @@ compose.item["?U"] := "{u+1ef0}"  ; (Ự) U with horn and dot below
 >!sc056::    ; Right Alt + ISO Key
 <^>!sc029::  ; AltGr + Grave Accent
 <^>!sc056::  ; AltGr + ISO Key
 >!sc056::    ; Right Alt + ISO Key
 <^>!sc029::  ; AltGr + Grave Accent
 <^>!sc056::  ; AltGr + ISO Key
-  keys := InputHook("L2", "{esc}")
+  keys := InputHook("L2", gEndKeys)
   keys.Start()
   keys.Wait()
   Send % compose.item[keys.Input]
   keys.Start()
   keys.Wait()
   Send % compose.item[keys.Input]
index 079555fc861de578b8de7924fb1462749d03cc87..d7503191af41a713dd30b96edac7804237661064 100644 (file)
@@ -1,6 +1,6 @@
 #requires AutoHotkey v2
 
 #requires AutoHotkey v2
 
-; UltimateKEYS (for AutoHotkey v2).ahk - 2025-01-29
+; UltimateKEYS (for AutoHotkey v2).ahk - 2025-02-06
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
 
 ; Website :  https://pieter-degroote.github.io/UltimateKEYS/
 
@@ -20,6 +20,8 @@ ListLines False   ; omits recently executed lines from history (for privacy and
 
 SendMode "Input"  ; optimizes for faster and more reliable input
 
 
 SendMode "Input"  ; optimizes for faster and more reliable input
 
+global gEndKeys := "{bs}{esc}"  ; ends dead key input on Backspace or Escape
+
 
 ; Compose Key Sequences (declaration)
 
 
 ; Compose Key Sequences (declaration)
 
@@ -1831,7 +1833,7 @@ compose["?U"] := "{u+1ef0}"  ; (Ự) U with horn and dot below
 >!sc056::      ; Right Alt + ISO Key
 <^>!sc029::    ; AltGr + Grave Accent
 <^>!sc056:: {  ; AltGr + ISO Key
 >!sc056::      ; Right Alt + ISO Key
 <^>!sc029::    ; AltGr + Grave Accent
 <^>!sc056:: {  ; AltGr + ISO Key
-  keys := InputHook("L2", "{esc}")
+  keys := InputHook("L2", gEndKeys)
   keys.Start()
   keys.Wait()
   if compose.Has(keys.Input)
   keys.Start()
   keys.Wait()
   if compose.Has(keys.Input)