Utilities

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/kermitfrog/inputmangler

0
Score 50%
Description:

Inputmangler is a daemon that intercepts and transforms linux input events, depending on the active window.
It aims to be highly configurable, reliable and not too hard to use. You can use it to remap those extra mouse buttons, properly utilize a footswitch or even remap your second keyboard to trigger all kinds of shortcuts! If you are left-handed, you can switch left and right mouse buttons for applications that ignore your Desktops settings (like dosbox and fs-uae). And you can have a different configuration for each window!
It is also capable of translating Text from the network to key presses.

Screenshot shows Kate with part of the example config, since linux-apps.com requires a screenshot or logo now and there is no GUI here...

Please leave a comment if you use Inputmangler. Even more so if you have any difficulties with it. Feedback is always welcome and i can't fix problems, i don't know about ;)

Packages can be found at https://www.aguzinski.eu/pub/inputmangler/ (always current for KDE Neon / (k)ubuntu 16.04, other (k)ubuntu versions may not have the most recent version packaged, but you can always try the neon .deb)

Last changelog:

2.0 1 year ago

* Switched from inputdummy to uinput. This makes setup much easier :) and does not create e.g. a 40-axis virtual joystick unless it's needed.
* Rewrote almost all output generation code from scratch. It is much more maintainable now and should be faster (except on parsing).
* Macros can now generate different events on press, release and repeat.
* All types of OutEvents can now be configured in short notation.

Knows issues:
* there is a non-critical memory leak :(. Fortunately it only happens when inputmangler receives a SIGHUP to trigger configuration reread, and makes it use ~140 kB more RAM. As this does not happen unless manually triggered by the user, it's not a release blocker.. still don't like it.
* triggering events via dbus interface only works if the event is configured to be used somewhere. This is not likely to change.
* At the moment all Values in a Macro definition must be specified. E.g. you have to write "TAB 1, TAB 2" instead of "TAB" and "S 1, a 1, a 0, S 0" instead of "a+S"

Be the first to comment

2.0 1 year ago

* Switched from inputdummy to uinput. This makes setup much easier :) and does not create e.g. a 40-axis virtual joystick unless it's needed.
* Rewrote almost all output generation code from scratch. It is much more maintainable now and should be faster (except on parsing).
* Macros can now generate different events on press, release and repeat.
* All types of OutEvents can now be configured in short notation.

Knows issues:
* there is a non-critical memory leak :(. Fortunately it only happens when inputmangler receives a SIGHUP to trigger configuration reread, and makes it use ~140 kB more RAM. As this does not happen unless manually triggered by the user, it's not a release blocker.. still don't like it.
* triggering events via dbus interface only works if the event is configured to be used somewhere. This is not likely to change.
* At the moment all Values in a Macro definition must be specified. E.g. you have to write "TAB 1, TAB 2" instead of "TAB" and "S 1, a 1, a 0, S 0" instead of "a+S"

Another bugfix in inputdummy 2 years ago

fixed a bug, i introduces with the last bugfix.
I'm very confident everything will work fine now

Bugfix in inputdummy (kernel module) 2 years ago

data written to /dev/virtual_* is now properly mapped to kernel memory.
I don't understand why it even worked before O.O (but stopped after a major hardware upgrade)

1.3 2 years ago

Now finally bringing mouse wheel acceleration to linux!! :D
I'm not quite sure about the default parameters though... suggestions are welcome

Changes in short:
* config format slightly changed (see end of README on how to update your config file)
* now depends on pugixml
* new features: reapeat (== auto-fire, not really tested), accelerate, debounce (for broken buttons)

Next: a firstrun wizzard to help people get it running ;)

After that i'm going to write a config GUI

1.2.2 2 years ago

* fixed incompatibility with newer linux-libc-dev
* corrected package dependencies
* added package for ubuntu-xenial / kde-neon 5.8 available (64-bit only for now) @ http://www.aguzinski.eu/pub/inputmangler/

4 years ago

1.2.1:
* Fixed a possible crash at startup
* Packages for Ubuntu 14.04, 14.10 and 15.04 32 and 64 bit are now all available :)

1.2-1:
* No actual changes to the code, but i improved on the installation/setup scripts and updated the README accordingly.
* Packages! Finally! (only (K)Ubuntu 14.10 64-bit for now, but i'll try to make 14.04, 32-bit and maybe Debian-Unstable packages during the next days. If i succeed, they will be available in the same location (new download link) )

1.2:

* Basic Macro Support
* Minor documentation improvements.

1.1:

* Full support for relative movements (e.g. mouse wheel)
* Passing through of absolute movements (-> joystick & tablet support)
* New xml parsing code now gives warning messages on some configuration errors (i simply *had* to do this after spending another 2 hours searching for a bug in the source code that was caused by nothing more than a missing '/' in the config file)
* Support for multiple identical devices with different configurations (through phys property)
* Fixed some minor bugs in kernel module
* 2 New d-bus slots
* Internal changes

product-maker 6 6

File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
2.0
updated Nov 21 2017
added Aug 14 2014
downloads today
0
page views today 1
System Tags app software