Code Monkey home page Code Monkey logo

interception-vimproved's People

Contributors

dceluis avatar exprpapi avatar marcelrobitaille avatar maricn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

interception-vimproved's Issues

Why not use official caps2esc plugin?

First off, I appreciate what you've done here and I'm loving the spacefn layer.

I wonder why re-implement caps2esc though when there's an official plugin for it. As I understand it, interception tools is made so you can pipe through multiple transformers. I actually use the -m 2 option with the official caps2esc plugin. Would you consider removing the caps2esc functionality from this plugin and use that one instead?

Use configuration file for key mappings

Hi @maricn

First, thank you for this great library. I've used it for more than a year now, and it's just become an indispensable part of my workflow.

I am not using the default key map, though. To do that, I had modify the source files directly and rebuild it locally.

I'm seeing a couple of forks popping up with some custom mappings as well. They might run into the same problem I just noticed: the library has been updated since I forked and built my own version, so I'm running an outdated version.

Would you be interested in adding the option to define custom mappings through a configuration file? I don't code C++ at all but I'm savvy enough to modify mappings from source. Maybe with some effort and guidance I can help with making the key maps be loaded from a config file.

Let me know if that's a change that you would be willing to merge into your library.

Thanks!

Package published on the AUR

If you want to add a note, this has been published as interception-vimproved-git on the AUR. This issue can be closed.

Map modifier keys on mouse click

For instance, holding CAPS_LOCK now (to become L_CTRL) and clicking mouse click will not emit CTRL+click, but a normal mouse click and a ESC when releasing CAPS_LOCK.

Use interception-tools mux tool for combining mouse clicks with modifier keys.

Error building

I just cloned this repo and got this error doing sudo make install.

meson build
Directory already configured.

Just run your build command (e.g. ninja) and Meson will regenerate as necessary.
If ninja fails, run "ninja reconfigure" or "meson --reconfigure"
to force Meson to regenerate.

If build failures persist, run "meson setup --wipe" to rebuild from scratch
using the same options as passed when configuring the build.
To change option values, run "meson configure" instead.
ninja -C build
ninja: Entering directory `build'
[1/2] Compiling C++ object interception-vimproved.p/interception-vimproved.cpp.o
FAILED: interception-vimproved.p/interception-vimproved.cpp.o
c++ -Iinterception-vimproved.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -g --std=c++2b -O3 -g -Wall -Wextra -Wpedantic -Werror -Wno-unused-parameter -Wno-type-limits -MD -MQ interception-vimproved.p/interception-vimproved.cpp.o -MF interception-vimproved.p/interception-vimproved.cpp.o.d -o interception-vimproved.p/interception-vimproved.cpp.o -c ../interception-vimproved.cpp
../interception-vimproved.cpp:100:7: error: ‘class Intercept’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
  100 | class Intercept {
      |       ^~~~~~~~~
../interception-vimproved.cpp:141:7: error: base class ‘class Intercept’ has accessible non-virtual destructor [-Werror=non-virtual-dtor]
  141 | class Modifier : public Intercept {
      |       ^~~~~~~~
../interception-vimproved.cpp:141:7: error: ‘class Modifier’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
../interception-vimproved.cpp:172:7: error: base class ‘class Intercept’ has accessible non-virtual destructor [-Werror=non-virtual-dtor]
  172 | class Layer : public Intercept {
      |       ^~~~~
../interception-vimproved.cpp:172:7: error: ‘class Layer’ has virtual functions and accessible non-virtual destructor [-Werror=non-virtual-dtor]
cc1plus: all warnings being treated as errors
ninja: build stopped: subcommand failed.
make: *** [Makefile:17: build] Error 1

I was able to solve this by adding a virtual default destructor to Intercept:

class Intercept {
public:
  virtual ~Intercept() = default;
...

interception-vimproved: 019e337
cmake: cmake version 3.25.1
ninja: 1.10.1

Can't get brightness keys to work

This tool is really awesome, thanks alot

- intercept: KEY_BACKSLASH
  onhold:

  # xf86 brightness
  - {from: KEY_C, to: KEY_BRIGHTNESSUP}
  - {from: KEY_X, to: KEY_BRIGHTNESSDOWN}

That is a section in my config and I cann't get these brightness keys to work, am I doing something wrong here ?
Note: volume keys mapping do work

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.