Code Monkey home page Code Monkey logo

clswitch's Introduction

clswitch

This program allows you to use 'Caps Lock' key (in MS Windows OS) as a hotkey to switch the keyboard language layout (to toggle 'Caps Lock' mode you can use 'Ctrl+Caps Lock' keys combination).


Notes:
1) Build instructions (MinGW):
i686-w64-mingw32-g++ -mwindows -static -s -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -ffreestanding -nostdlib -Os -Wl,--gc-sections,--strip-all,--entry=_startup -o clswitch32.exe clswitch.c -lkernel32 -luser32
or
x86_64-w64-mingw32-g++ -mwindows -static -s -fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -ffreestanding -nostdlib -Os -Wl,--gc-sections,--strip-all,--entry=startup -o clswitch64.exe clswitch.c -lkernel32 -luser32

2) Installation:
There is no any automatic install scripts or functions, so you must run the selected executable file manually or you may create link for it in the "Startup" folder ("C:\Users<user name>\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup")

3) Prebuilt binaries: statically linked x86 / statically linked x64 (Warning: Due to the use of the 'SetWindowsHookEx' function, some antivirus programs may give false positive warnings.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.