aurae-runtime / auraed

Secure mTLS and gRPC backed runtime daemon. Alternative to systemd. Written in Rust.
https://aurae.io/auraed
Apache License 2.0
60 stars 11 forks source link

Detect Power Button Devices for all supported systems #33

Open Vincinator opened 1 year ago

Vincinator commented 1 year ago

Implement a method to get a list of power button devices, so that events from all power buttons of the system can be handled by auraed.

Note a linux specific listener implementation: https://github.com/aurae-runtime/auraed/pull/31. BSD, OSX or other may handle input devices differently (I don't know yet).