Created
July 5, 2025 11:56
-
-
Save ivanstepanovftw/13d9ae9d19cd21c9f2cfb21d6cdc80f7 to your computer and use it in GitHub Desktop.
Windows `setxkbmap -option "grp:caps_toggle"` alternative.
This file contains hidden or 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
#Requires AutoHotkey v2.0 | |
SetCapsLockState "AlwaysOff" | |
CapsLock:: | |
{ | |
DllCall("PostMessage", "Ptr", 0xFFFF, "UInt", 0x50, "Ptr", 1, "Ptr", 0) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment