Map keys on 60% Keyboards

This commit is contained in:
q3aql 2020-08-16 17:40:15 +02:00
parent e20f12cf99
commit 0f03d7171e

View File

@ -2,11 +2,17 @@
; ################################################ ; ################################################
; # ANSI-GLI - ANSI Greater & Less in ISO # ; # ANSI-GLI - ANSI Greater & Less in ISO #
; # # ; # #
; # Autor: q3aql # ; # Author: q3aql #
; # Contact: q3aql@protonmail.ch # ; # Contact: q3aql@protonmail.ch #
; # Licencia: GPL v2.0 # ; # License: GPL v2.0 #
; ################################################ ; ################################################
; Version v2.0 ; Version v2.1
;
; You've probably noticed that when you switch from an ISO keyboard
; to an ANSI keyboard, the "<" and ">" keys are missing. When you
; configure an ANSI keyboard as ISO (for example in Spanish), you can
; use it in the same way as before, but those symbols are the only ones
; that you cannot type, so this script will solve the problem.
; ;
; Map the Alt + Z keys to show the "<" symbol ; Map the Alt + Z keys to show the "<" symbol
!z:: !z::
@ -37,4 +43,30 @@ return
<^>!x:: <^>!x::
Send, > Send, >
return return
;
; If you use a 60% Keyboard, maybe need the following combinations:
;
;Map the AltGr + ' keys to show the "\" symbol (Spanish & Italian ISO config)
<^>!'::
Send, \
return
;
;Map the AltGr + ¡ keys to show the "~" symbol (Spanish ISO config)
<^>!¡::
Send, ~
return
;
;Map the AltGr + ' keys to show the "\" symbol (ANSI & UK ISO config)
<^>!-::
Send, \
return
;
;Map the AltGr + ¡ keys to show the "~" symbol (ANSI & UK ISO config)
<^>!+::
Send, ~
return
;
;Map the AltGr + Esc keys to show the "\" symbol
<^>!*Escape::
Send, \
return