zsugabubus / interception-k2k

Configurable plugin for Interception Tools (caps2esc, space2meta, tab2altgr...)
GNU General Public License v3.0
52 stars 10 forks source link
evdev interception-tools keyboard-shortcuts uinput xcape

interception-k2k

All-in-one input key mapper for Interception Tools.

Configuration

User configuration files can be placed under subdirectories of config directory. Executables will be generated per subdirectory, so you can easily manage your rules if you need more instances of interception-k2k.

If you wish to try out example configuration, modify /etc/udevmon.yaml to look something like this:

- JOB: "intercept -g $DEVNODE | /opt/interception/interception-pipe0 | /opt/interception/interception-pipe1 | uinput -d $DEVNODE"
  DEVICE:
    EVENTS:
      EV_KEY: [KEY_CAPSLOCK, KEY_ESC, KEY_SPACE]

Installation

git clone https://github.com/zsugabubus/interception-k2k &&
cd interception-k2k &&
make && # or make CONFIG_DIR=caps2esc
make install