Created
May 10, 2015 02:34
-
-
Save iforwms/78c28683a8e97ba77838 to your computer and use it in GitHub Desktop.
Remap the CapsLock key to the Escape
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Capslock::Esc ; Remap Capslock to Esc and shift + CapsLock for normal CapsLock | |
+Capslock:: | |
if GetKeyState("CapsLock", "T") = 1 | |
{ | |
SetCapsLockState, off | |
} | |
else if GetKeyState("CapsLock", "F") = 0 | |
{ | |
SetCapsLockState, on | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment