LinuxAlternative

Linux · System Tools

Input Remapper

Input Remapper lets you map keyboard and mouse inputs to other actions on Linux, replacing Logitech G Hub's device configuration.

Open sourceFree
Be the first to rate
License
GPL-3.0
Latest version
2.2.1

What is Input Remapper?

Input Remapper is a lightweight, open‑source tool that captures raw input events and re‑routes them to new keycodes or mouse actions. It first appeared in 2018 as a hobby project for users who wanted a simple way to customize gaming peripherals without vendor software. Over the years it has been packaged for Debian, Fedora and Ubuntu, and its community has added support for a wide range of devices.

The target audience is gamers and power users who rely on custom key bindings, macros or mouse button remaps. It is especially useful for those who own Logitech hardware but cannot run the official G Hub on Linux.

Compared with the Windows‑only G Hub, Input Remapper feels more “native” because it integrates with the Xorg or Wayland input stack and uses standard configuration files. It lacks some of the visual configuration wizard and advanced profiling features of G Hub, but it is more stable and respects system permissions.

Best for: Users who need simple key remapping and macros on Linux without vendor software.

Key features of Input Remapper

  • Capture raw keyboard and mouse events
  • Map keys to other keys, mouse buttons, or custom scripts
  • Support for multiple profiles per device
  • Configurable via simple text files
  • Works on Xorg and Wayland
  • No dependency on proprietary drivers
  • Open‑source code base

Pros

  • Free and open‑source
  • Cross‑distribution support
  • Lightweight, low resource usage
  • No need for vendor drivers
  • Customizable via scripts

Cons

  • No graphical configuration tool
  • Limited macro capabilities compared to G Hub
  • Requires manual editing of config files
  • No built‑in device detection on Wayland

Windows programs Input Remapper replaces

How to install Input Remapper on Linux

Ubuntu / Mintsudo apt install input-remapper
Debiansudo apt install input-remapper
Fedorasudo dnf install input-remapper

Tips for Windows users

When moving from Logitech G Hub to Input Remapper, export your G Hub profiles if possible and translate the keycodes into the Input Remapper format. The tool uses plain text files in ~/.config/inputremapper/, so you can copy your custom mappings directly. Keep in mind that G Hub’s advanced macros may need to be rewritten as shell scripts or separate programs, as Input Remapper only supports basic key and button remapping.

Input Remapper: frequently asked questions

Is Input Remapper compatible with Wayland?

Yes, it works on Wayland, but some features like global key capture may require additional permissions or use of xinput under Xorg.

Can I use it with non‑Logitech devices?

Absolutely. It captures raw input events, so any keyboard or mouse that reports to the system can be remapped.

How do I create a new profile?

Create a new file in ~/.config/inputremapper/ named after your device and add lines like ‘key 0x04 -> 0x05’ to map keys.

Does it support macros?

Basic macros are possible by mapping keys to shell commands, but complex sequences are better handled by external tools like xmacro or AutoKey.

Updated