Coder Social home page Coder Social logo

madand / interception-home-row-fu Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 124 KB

Dual function keys for home row; with support for fast (touch) typing.

License: MIT License

C 99.22% Makefile 0.78%
interception-tools evdev uinput xcape keyboard keyboard-mapping keyboard-events keyboard-emulation

interception-home-row-fu's Introduction

Home Row Fu

Make the home row keys (A S D F and J K L ;) act as modifiers (Shift, Ctrl, Meta, Alt) in addition to their default function.

Installation

This is a Interception Tools plugin so you need to have them installed. The plugin itself has no external dependencies and can be compiled as simple as:

make
make install
# Invoke the following command only if you install for the first time, as it
# will overwrite any existing config file!
make install-config-file

Caveats

The following caveats only pertain to the keys the plugin is configured to handle; all events pertaining to the other keys are just passed through.

  • Visual lag when entering one of the handled keys. This is by design: the keys are being sent either after the next key press (during burst typing) or after the key release.

  • Need to slow down for using modifiers in order to wait out the burst typing time window (200 msec by default).

  • Key Repeat events are discarded, because on longish press (more that 700 msec by default) keys are being "locked" to be a modifier and would insert nothing when released.

TODO

  • Fix interaction of e.g. the real Left Shift holding and pressing A (which emulates) Left Shift.

License

This project is licensed under the terms of the MIT license.

Related Projects

interception-home-row-fu's People

Contributors

madand avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.