piusareLite: added more characters
This commit is contained in:
parent
0cbc101949
commit
e0db315595
2 changed files with 52 additions and 18 deletions
|
|
@ -5,6 +5,7 @@ Collection of useful scripts for keyboard remappings and mouse operation without
|
|||
Set of key bindings meant for the ANSI US layout set to:
|
||||
|
||||
- Facilitate the usage of spanish tilde keys without depending on a dead key.
|
||||
- Add inverted exclamation and question marks, alongside en and em dashes.
|
||||
- Remap modifier keys to accomodate a comfier usage.
|
||||
- Toggle `Caps Lock` with both Shift keys.
|
||||
|
||||
|
|
@ -12,7 +13,9 @@ Collection of useful scripts for keyboard remappings and mouse operation without
|
|||
|
||||
- While holding `Left Alt`:
|
||||
- Press on any of the spanish vowel keys `(a, e, i, o, u)` to write their accented representation `(á, é, í, ó, ú)`.
|
||||
- You can also write the Euro sign `€` pressing `p`, the umlaut u `ü` pressing `/` and the `ñ` with `n`.
|
||||
- Press `/` to write `¿`, `[` to write `¡`.
|
||||
- Press `- (hyphen)` to write `—`, or press `- (hyphen)` while holding `Shift` to write `–`.
|
||||
- You can also write the Euro sign `€` pressing `p`, the umlaut u `ü` pressing `[` and the `ñ` with `n`.
|
||||
- Press both `Shift` keys to toggle `Caps Lock`.
|
||||
- `Caps Lock` key acts as another `Left Control`.
|
||||
- `Left Alt` **must** be released before inputting another macro character in order to prevent writing multiple, unintended macro characters when typing quickly.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ LShift & RShift::CapsLock
|
|||
return
|
||||
|
||||
#if !hotkeyLock
|
||||
;;Adding tonic vowels with tilde, EUR sign, ü and ñ to non-ES keyboard
|
||||
;;Adding tonic vowels with tilde, €, ü, ñ, ¿, ¡, – and — to non-ES keyboard
|
||||
<!a::
|
||||
sendCheckCapsLock("U+00E1", "U+00C1")
|
||||
hotkeyLock := 1
|
||||
|
|
@ -110,21 +110,35 @@ return
|
|||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;U with umlaut ü
|
||||
<!/::
|
||||
;;U with umlaut ü
|
||||
<!sc01B::
|
||||
sendCheckCapsLock("U+00FC", "U+00DC")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+/::
|
||||
<!+sc01B::
|
||||
sendCheckCapsLock("U+00DC", "U+00FC")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Adding euro sign
|
||||
;;Inverted question mark
|
||||
<!/::
|
||||
Send, {U+00BF}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+/::
|
||||
Send, {U+00BF}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Euro sign
|
||||
<!p::
|
||||
Send, {U+20AC}
|
||||
hotkeyLock := 1
|
||||
|
|
@ -139,6 +153,35 @@ return
|
|||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;Inverted exclamation mark
|
||||
<!sc01A::
|
||||
Send, {U+00A1}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
<!+sc01A::
|
||||
Send, {U+00A1}
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
;;En and em dash
|
||||
<!sc00C::
|
||||
sendCheckCapsLock("U+2014", "U+2013")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
<!+sc00C::
|
||||
sendCheckCapsLock("U+2013", "U+2014")
|
||||
hotkeyLock := 1
|
||||
KeyWait, LAlt
|
||||
hotkeyLock := 0
|
||||
return
|
||||
|
||||
#if
|
||||
|
||||
#if hotkeyLock
|
||||
|
|
@ -332,12 +375,6 @@ return
|
|||
<!+`::
|
||||
Send, {U+007E}
|
||||
return
|
||||
<!1::
|
||||
Send, {U+0031}
|
||||
return
|
||||
<!+1::
|
||||
Send, {U+0021}
|
||||
return
|
||||
<!2::
|
||||
Send, {U+0032}
|
||||
return
|
||||
|
|
@ -411,12 +448,6 @@ return
|
|||
<!+/::
|
||||
Send, {U+003F}
|
||||
return
|
||||
<!.::
|
||||
Send, {U+002E}
|
||||
return
|
||||
<!+.::
|
||||
Send, {U+003E}
|
||||
return
|
||||
<!,::
|
||||
Send, {U+002C}
|
||||
return
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue