GNU General Public License v3.0

项目介绍

sezanzeb/input-remapper 是一个托管在 GitHub 上的开源项目,主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前获得 6.0k 个 Star、235 次 Fork。

仓库全名
sezanzeb/input-remapper
开源许可证
GNU General Public License v3.0
Star 数
6.0k
Fork 数
235
未关闭 Issue
371

README 摘要

Input Remapper An easy to use tool for Linux 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 Ubuntu/Debian Either download an installable .deb file from the latest release: Or install the…

完整内容见 GitHub 原始 README 或本页 。

常见问题

input-remapper 用什么语言开发?

主要使用 Python 编写,采用 GNU General Public License v3.0 许可证,目前有 6.0k 个 Star。

input-remapper 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 input-remapper 的源码?

可以直接克隆仓库:git clone https://github.com/sezanzeb/input-remapper.git,默认分支为 main;安装与运行步骤见仓库 README。

input-remapper 最近还在维护吗?

仓库最近一次更新为 2 周前,当前有 371 个未关闭 Issue;Star 数为 6.0k,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

🎮 ⌨ An easy to use tool to change the behaviour of your input devices.

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
6538
价值分
3676
活跃状态
活跃

语言占比

CSS
Python
Shell

Release

README

Input Remapper

An easy to use tool for Linux 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

Ubuntu/Debian

Either download an installable .deb file from the latest release:

wget https://github.com/sezanzeb/input-remapper/releases/download/2.2.1/input-remapper-2.2.1.deb
sudo apt install -f ./input-remapper-2.2.1.deb

Or install the very latest changes via:

sudo apt install git gettext
git clone https://github.com/sezanzeb/input-remapper.git
cd input-remapper
./scripts/build-deb.sh
sudo apt purge input-remapper input-remapper-daemon input-remapper-gtk python3-inputremapper
sudo apt install -f ./dist/input-remapper-2.2.1.deb

Input Remapper is also available in the repositories of Debian and Ubuntu via

sudo apt install input-remapper

Input Remapper ≥ 2.0 requires at least Ubuntu 22.04.


Fedora

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

Arch

yay -S input-remapper-git
sudo systemctl enable --now input-remapper

Void

sudo xbps-install -S input-remapper
sudo ln -s /etc/sv/input-remapper /var/service
sudo sv up input-remapper

Other Distros

Figure out the packages providing those dependencies in your distro, and install them: python3-evdev ≥1.3.0, gtksourceview4, python3-devel, python3-pydantic, python3-dasbus, python3-psutil, python3-gi, python3-gi-cairo, python3-cairo, libayatana-appindicator

You can also use pip to install some of them. Python packages need to be installed globally for the service to be able to import them. Don’t use --user. Conda and such may also cause problems due to changed python paths and versions.

sudo pip install evdev pydantic dasbus PyGObject
git clone https://github.com/sezanzeb/input-remapper.git
cd input-remapper
sudo python3 -m install --root /
sudo systemctl enable --now input-remapper

For all other options and help, check python3 -m install --help

To uninstall:

sudo python3 -m install.uninstall

评论

暂无评论