Giter Club home page Giter Club logo

powercapslock's Introduction

PowerCapsLock

PowerCapsLock是一个用于增强CapsLock按键功能的小工具,初衷是为了让所有应用都能像Vim一样通过H, J, K, L来替代Left, Down, Up, Right四个方向键,而CapsLock键的位置很适合用做控制键,所以在保持了CapsLock原本功能的基础上,将其改造成了控制键,实现将CapsLock + H/J/K/L映射为四个方向键的功能,以及其他的一些实用的按键映射。

使用方法

  • CapsLock Down, CapsLock Up: 切换大写锁定,和CapsLock原本的功能一致;
  • CapsLock Down + H/J/K/L: 分别转换为Left, Down, Up, Right四个方向键的按键事件;
  • CapsLock Down + Space: 转换为Win + Space,解决Windows10切换输入法时Win键不方便按到的问题;
  • CapsLock Down + 其他按键:转换为Ctrl + 其他按键,即通过CapsLock实现了Ctrl键的功能;

编译方法

  • 编译环境:mingw (vs c++环境下未验证)

  • 编译方法:

    $ make
    OR
    $ scons
  • power_capslock.exe为编译好的二进制文件,在Windows10下测试通过;

安装方法

  • 运行power_capslock.exe即可,结束应用目前只能通过任务管理器结束进程或其他类似方法;
  • 开机自运行需自行添加到计划任务或者修改注册表等;

License

MIT

powercapslock's People

Contributors

qybei avatar atubo1024 avatar

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.