Originally posted by wombat2go He probably used a pico with limited inputs.
Anyway to the old fogies like me it is "normal".
Yeah and at least a way to get user defined input; otherwise, buttons with menus like I have on AgOmatic the user can never enter input just pick what's on a scripted menu.
I did mine the easy way. That Soekris net4801 board I used had a 20-pin GPIO header and OpenBSD had, out of the box, a utility to read the state of its I/O pins from the command line. I just grabbed some of that source code and modified it for my task and in loop continuously read for state changes which would be a button press.