I have a c++ app that uses gpio switch to start/stop its function. I am doing this by reading simulated keystrokes thru dtoverlay=gpio-key setup.
I would like to have a daemon (systemctl) process that does the same thing. I would like to share the same gpio pin for the switch and have the dtoverlay=gpio-key setup in place for the foreground process.
Any ideas or examples on how to do this are appreciated.
I would like to have a daemon (systemctl) process that does the same thing. I would like to share the same gpio pin for the switch and have the dtoverlay=gpio-key setup in place for the foreground process.
Any ideas or examples on how to do this are appreciated.
Statistics: Posted by wkeeling — Fri Feb 13, 2026 10:00 pm — Replies 1 — Views 17