Skip to content

Instantly share code, notes, and snippets.

@jmbeach
Created March 31, 2016 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jmbeach/fdbdb9395ff1f54de0783ab830c79f0c to your computer and use it in GitHub Desktop.
Save jmbeach/fdbdb9395ff1f54de0783ab830c79f0c to your computer and use it in GitHub Desktop.
Caps-lock up down
CapsLock::
{
if state = D
{
}
else
{
Send, {Down down}
Send, {Down up}
}
}
+CapsLock::
{
GetKeyState, state, Shift
if state = D
{
Send, {Up down}
Send, {Up up}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment