Go to file
jdoda f06b3ed601
Add optional acceleration to the mouse macro. (#931)
* Add optional acceleration to the mouse macro.

* Make accelerated mouse motion more accurate by accumulating fractional component of the speed.

* Apply suggestions from code review

Co-authored-by: Tobi <28510156+sezanzeb@users.noreply.github.com>

---------

Co-authored-by: Tobi <28510156+sezanzeb@users.noreply.github.com>
2024-08-13 16:48:54 +02:00
.github Switch from deprecated types-pkg_resources to types-setuptools 2024-08-06 23:45:15 +02:00
.run Input event with origin (#550) 2022-12-15 14:43:03 +01:00
bin Using asyncio.run in input-remapper-reader-service (#731) 2023-06-25 13:29:25 +02:00
data Install icon to standard path, fix appstream-builder generation (#841) 2024-01-27 11:59:18 +01:00
DEBIAN 2.0.1 2023-09-18 23:42:29 +02:00
inputremapper Add optional acceleration to the mouse macro. (#931) 2024-08-13 16:48:54 +02:00
po Update zh_CN.po (#809) 2023-11-19 13:28:58 +01:00
readme Add optional acceleration to the mouse macro. (#931) 2024-08-13 16:48:54 +02:00
scripts 2.0.1 2023-09-18 23:42:29 +02:00
tests Add optional acceleration to the mouse macro. (#931) 2024-08-13 16:48:54 +02:00
.coveragerc Frontend Refactor (#375) 2022-07-23 10:53:41 +02:00
.gitignore Test setup cleanup (#557) 2022-11-23 22:55:28 +01:00
.mypy.ini Refactored injection (#263) 2022-04-17 12:19:23 +02:00
.pylintrc Refactored injection (#263) 2022-04-17 12:19:23 +02:00
.reviewdog.yml Add github actions workflows (#267) 2022-02-07 17:52:41 +01:00
LICENSE outlined some stuff 2020-10-26 23:45:55 +01:00
README.md docs: remove redundant install step on Fedora (#807) 2023-11-12 22:47:44 +01:00
setup.py Install icon to standard path, fix appstream-builder generation (#841) 2024-01-27 11:59:18 +01:00
shell.nix Add github actions workflows (#267) 2022-02-07 17:52:41 +01:00

Input Remapper

An easy to use tool to change the behaviour of your input devices.
Supports X11, Wayland, combinations, programmable macros, joysticks, wheels,
triggers, keys, mouse-movements and more. Maps any input to any other input.

Usage - Macros - Installation - Development - Examples

 

Installation

Manjaro/Arch
yay -S input-remapper-git
sudo systemctl restart input-remapper
sudo systemctl enable input-remapper
Ubuntu/Debian

Get a .deb file from the release page or install the latest changes via:

sudo apt install git python3-setuptools gettext
git clone https://github.com/sezanzeb/input-remapper.git
cd input-remapper && ./scripts/build.sh
sudo apt install -f ./dist/input-remapper-2.0.1.deb

input-remapper is available in Debian and Ubuntu.

input-remapper ≥ 2.0 requires at least Ubuntu 22.04.

Fedora
sudo dnf install input-remapper
sudo systemctl enable --now input-remapper
Manual

Dependencies: python3-evdev ≥1.3.0, gtksourceview4, python3-devel, python3-pydantic, python3-pydbus

Python packages need to be installed globally for the service to be able to import them. Don't use --user

Conda can cause problems due to changed python paths and versions.

If it doesn't seem to install, you can also try sudo python3 setup.py install

sudo pip install evdev -U  # If newest version not in distros repo
sudo pip uninstall key-mapper  # In case the old package is still installed
sudo pip install --no-binary :all: git+https://github.com/sezanzeb/input-remapper.git
sudo systemctl enable input-remapper
sudo systemctl restart input-remapper

Migrating beta configs to version 2

By default, Input Remapper will not migrate configurations from the beta. If you want to use those you will need to copy them manually.

rm ~/.config/input-remapper-2 -r
cp ~/.config/input-remapper/beta_1.6.0-beta ~/.config/input-remapper-2 -r

Then start input-remapper