1
0
Fork 0
evdev-actions/readme.md

18 lines
892 B
Markdown
Raw Normal View History

2021-02-27 15:57:26 +01:00
# EVDEV Actions \[WIP]
2021-02-27 15:36:40 +01:00
## Functionality
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.
## 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