https://github.com/thebutlah/inhibitor
Inhibits linux input devices
https://github.com/thebutlah/inhibitor
Last synced: 10 months ago
JSON representation
Inhibits linux input devices
- Host: GitHub
- URL: https://github.com/thebutlah/inhibitor
- Owner: TheButlah
- License: apache-2.0
- Created: 2025-05-31T06:26:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-01T00:27:30.000Z (about 1 year ago)
- Last Synced: 2025-07-14T05:15:12.378Z (11 months ago)
- Language: Rust
- Size: 20.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# Inhibitor
Inhibits linux input devices. See the [Linux Kernel Docs][linux-docs] for more info.
## Motivation
The original use case was to pair `inhibitor` with [systemd][systemd.device] to disable
my built-in keyboard whenever my bluetooth keyboard connects - something that I dearly
missed coming from MacOS's [karabiner-elements][karabiner], as I require a split
keyboard to avoid RSI. You can consult my exact [NixOS setup][nixos] if you're curious about
the details.
## License
Unless otherwise specified, all code in this repository is dual-licensed under
either:
- MIT-0 License ([LICENSE-MIT-0](LICENSE-MIT-0))
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE))
at your option. This means you can select the license you prefer!
Any contribution intentionally submitted for inclusion in the work by you, shall be
dual licensed as above, without any additional terms or conditions.
[linux-docs]: https://docs.kernel.org/input/input-programming.html#inhibiting-input-devices
[systemd.device]: https://www.freedesktop.org/software/systemd/man/latest/systemd.device.html
[karabiner]: https://karabiner-elements.pqrs.org/docs/manual/configuration/disable-built-in-keyboard/
[nixos]: https://github.com/TheButlah/nix/blob/e90227424661123437501f1bcdac5db47be04da3/machines/ryan-asahi/configuration.nix#L184-L215