- Notifications
You must be signed in to change notification settings - Fork1
1280px/capswitch
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A simple, lightweight (13/78 KB) and configurable program that switches keyboard layout with CapsLock key — just put it in Startup folder and enjoy!
Note: For keyboard layout switching to work in programs running with elevated privileges, CapsWitch should be ranas administrator. This can be done, for example,using Task Scheduler.
It runs finewithout privileges escalation as well, however it will only work in non-elevated programs.
Download an archive with the preferred version:
- Windows 7–11 (x64) (shortlink:https://t.ly/v_fmo)
- Windows XP + (x86) (shortlink:https://t.ly/9zlcG)
Then, upzip it wherever you want (e.g. inshell:startup
orshell:common startup
, which are Startup folder locations for current user and all users respectively), double-click the .exe and you're done!
Building Information
- Use Microsoft Visual Studio2010 or newer (I'm using VS2022)
- Compile for x64
- Use Microsoft Visual Studio2010 or newer (I'm using VS2022)
- Install Platform Toolset with XP compilation support (the latest version is
v141_xp
) - Go toSolution Explorer, right click on CapsWitch and openProperties. Then, in
Platform Toolset
, find the one you installed (e.g.Visual Studio 2017 - Windows XP (v141_xp)
) and select it. - In the same window, go toC/C++ > Code Creation, find
Runtime Library
and change it to/MT
- Apply and compile for x86
CapsWitch works by emulating a layout switch keystroke(Alt+Shift by default) whenever CapsLock key is pressed.
The controls are:
- CapsLock to change keyboard layout
- LeftShift+CapsLock / CapsLock+LeftShift to toggle Caps Lock state
- Alt+CapsLock to toggle program activity(disabled by default)
CapsWitch allows some customization using .ini settings file. By default, it looks for<FILENAME>.ini
file in the same directory, however you can pass custom configs file path using agruments (i.e..\CapsWitch.exe "C:\test.ini"
).
The program can also work without .ini file, using built-in values (same as default).
You can see more information about each optionin default .ini file.
About
Modified version of erryox's Switchy, with layout selection, .ini configs, Windows XP support, and sound indication. Previously: "Switchy-MOD".
Topics
Resources
Stars
Watchers
Forks
Packages0
Languages
- C100.0%