I created a new program : file_buttons.c
It solves a problem I discovered : some events are not sent when the program starts so it would miss critical events in the previous system I considered.
Now, the program is run in parallel with the script, which can read the values of the files button_left, button_middle and button_right.
It's still missing a safety/check to prevent more than one instance from running.
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.