1
0
Fork 0
evdev-actions/readme.md

24 lines
1 KiB
Markdown
Raw Normal View History

2025-03-03 15:36:36 +01:00
# Linux Event Device Actions
> **Note:**
> This project has been superseded by [Input Remapper](https://github.com/sezanzeb/input-remapper) and is no longer maintained.
2021-02-27 15:36:40 +01:00
## Functionality
2025-03-03 15:36:36 +01:00
This tool allows certain configurable actions to be taken upon events from `evdev` devices.
These actions include feeding a new event back into a device (useful for button remapping) and running an arbitrary command.
This tool **cannot** prevent the original event from being processed by other userspace programs listening for `evdev` events, for example ones using `libinput`.
It was originally created because there currently is no way to give extra mouse buttons functionality when using Mutter.
2021-02-27 15:36:40 +01:00
## Long-Term Solution
The functionality of this tool should ideally be moved into `libinput` and/or Wayland compositors.
2021-02-27 15:57:26 +01:00
## Todos
- Switch to libevdev, find out how to link to it using CMake
- Pass `/dev/input/by-id/` to libevdev
- Add file-based configuration for device(s) and actions
- Write Systemd unit file
- Write Arch Linux PKGBUILD file