This small windowless program allow you swich keyboard layout with CapsLock key. While non-standard keyboard layout will bright Scroll Lock indicator. Usual Caps Lock function available via Shift + CapsLock key combination. I recommend set "To turn off Caps Lock -- SHIFT key" in Windows Advanced Key Settings.
Initially forked from here
Just run make build-release
to compile it. Binary will be in zig-out/bin
folder.
- Open Task Scheduler (taskschd.msc)
- Click "Create Basic Task"
- Name it "CapsLang" and click Next
- Select "When I log on" and click Next
- Select "Start a program" and click Next
- Browse to capslang.exe location and click Next
- Check "Open the Properties dialog for this task when I click Finish" checkbox
- Click Finish
- In Properties dialog, check "Run with highest privileges" checkbox
- Click OK
- Right-click the task and select "Run" to start it immediately
Copy capslang.exe to your Startup (%AppData%\Microsoft\Windows\Start Menu\Programs\Startup) folder.
There is drawback - it will not work in application ran with Administrator privileges.
Just run capslang.exe and enjoy
To close programm press Ctrl + Alt + L