piusareLite: added Space bypass, fixed race con

This commit is contained in:
Hane 2024-03-21 19:47:47 +01:00
commit 68fbbee60a
3 changed files with 30 additions and 25 deletions

BIN
KeyboardRemappings.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

BIN
MouseOnKeyboard.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 361 KiB

View file

@ -33,165 +33,165 @@ return
#if !hotkeyLock
;;Adding tonic vowels with tilde, €, ü, ñ, ¿, ¡, and — to non-ES keyboard
<!a::
sendCheckCapsLock("U+00E1", "U+00C1")
hotkeyLock := 1
sendCheckCapsLock("U+00E1", "U+00C1")
KeyWait, LAlt
hotkeyLock := 0
return
<!+a::
sendCheckCapsLock("U+00C1", "U+00E1")
hotkeyLock := 1
sendCheckCapsLock("U+00C1", "U+00E1")
KeyWait, LAlt
hotkeyLock := 0
return
<!e::
sendCheckCapsLock("U+00E9", "U+00C9")
hotkeyLock := 1
sendCheckCapsLock("U+00E9", "U+00C9")
KeyWait, LAlt
hotkeyLock := 0
return
<!+e::
sendCheckCapsLock("U+00C9", "U+00E9")
hotkeyLock := 1
sendCheckCapsLock("U+00C9", "U+00E9")
KeyWait, LAlt
hotkeyLock := 0
return
<!i::
sendCheckCapsLock("U+00ED", "U+00CD")
hotkeyLock := 1
sendCheckCapsLock("U+00ED", "U+00CD")
KeyWait, LAlt
hotkeyLock := 0
return
<!+i::
sendCheckCapsLock("U+00CD", "U+00ED")
hotkeyLock := 1
sendCheckCapsLock("U+00CD", "U+00ED")
KeyWait, LAlt
hotkeyLock := 0
return
<!o::
sendCheckCapsLock("U+00F3", "U+00D3")
hotkeyLock := 1
sendCheckCapsLock("U+00F3", "U+00D3")
KeyWait, LAlt
hotkeyLock := 0
return
<!+o::
sendCheckCapsLock("U+00D3", "U+00F3")
hotkeyLock := 1
sendCheckCapsLock("U+00D3", "U+00F3")
KeyWait, LAlt
hotkeyLock := 0
return
<!u::
sendCheckCapsLock("U+00FA", "U+00DA")
hotkeyLock := 1
sendCheckCapsLock("U+00FA", "U+00DA")
KeyWait, LAlt
hotkeyLock := 0
return
<!+u::
sendCheckCapsLock("U+00DA", "U+00FA")
hotkeyLock := 1
sendCheckCapsLock("U+00DA", "U+00FA")
KeyWait, LAlt
hotkeyLock := 0
return
<!n::
sendCheckCapsLock("U+00F1", "U+00D1")
hotkeyLock := 1
sendCheckCapsLock("U+00F1", "U+00D1")
KeyWait, LAlt
hotkeyLock := 0
return
<!+n::
sendCheckCapsLock("U+00D1", "U+00F1")
hotkeyLock := 1
sendCheckCapsLock("U+00D1", "U+00F1")
KeyWait, LAlt
hotkeyLock := 0
return
;;U with umlaut ü
<!sc01B::
sendCheckCapsLock("U+00FC", "U+00DC")
hotkeyLock := 1
sendCheckCapsLock("U+00FC", "U+00DC")
KeyWait, LAlt
hotkeyLock := 0
return
<!+sc01B::
sendCheckCapsLock("U+00DC", "U+00FC")
hotkeyLock := 1
sendCheckCapsLock("U+00DC", "U+00FC")
KeyWait, LAlt
hotkeyLock := 0
return
;;Inverted question mark
<!/::
Send, {U+00BF}
hotkeyLock := 1
Send, {U+00BF}
KeyWait, LAlt
hotkeyLock := 0
return
<!+/::
Send, {U+00BF}
hotkeyLock := 1
Send, {U+00BF}
KeyWait, LAlt
hotkeyLock := 0
return
;;Euro sign
<!p::
Send, {U+20AC}
hotkeyLock := 1
Send, {U+20AC}
KeyWait, LAlt
hotkeyLock := 0
return
<!+p::
Send, {U+20AC}
hotkeyLock := 1
Send, {U+20AC}
KeyWait, LAlt
hotkeyLock := 0
return
;;Inverted exclamation mark
<!sc01A::
Send, {U+00A1}
hotkeyLock := 1
Send, {U+00A1}
KeyWait, LAlt
hotkeyLock := 0
return
<!+sc01A::
Send, {U+00A1}
hotkeyLock := 1
Send, {U+00A1}
KeyWait, LAlt
hotkeyLock := 0
return
;;En and em dash
<!sc00C::
sendCheckCapsLock("U+2014", "U+2013")
hotkeyLock := 1
sendCheckCapsLock("U+2014", "U+2013")
KeyWait, LAlt
hotkeyLock := 0
return
<!+sc00C::
sendCheckCapsLock("U+2013", "U+2014")
hotkeyLock := 1
sendCheckCapsLock("U+2013", "U+2014")
KeyWait, LAlt
hotkeyLock := 0
return
;;Spanish double angle quotation mark
<!sc01C::
sendCheckCapsLock("U+00AB", "U+00BB")
hotkeyLock := 1
sendCheckCapsLock("U+00AB", "U+00BB")
KeyWait, LAlt
hotkeyLock := 0
return
<!+sc01C::
sendCheckCapsLock("U+00BB", "U+00AB")
hotkeyLock := 1
sendCheckCapsLock("U+00BB", "U+00AB")
KeyWait, LAlt
hotkeyLock := 0
return
@ -499,6 +499,11 @@ return
Send, {U+007C}
return
<!sc039::
<!+sc039::
Send, {U+0020}
return
#if
;;Where :C?*:U"X:: contains the hotstring trigger, this cASE BEING TYPING U " X ALL together. autohotkey gives us some control over how to interpret the hotstring, IN This Case By Inserting C?* We Are Telling Ahk To Be Case Sensitie (C), to trigger even as part of a word (?) and to trigger without an ending character such as space or newline(*).