I think this makes a lot of sense, and should make it into the API. Currently, the flag gets set back to false after checking the flag… in this new case, it might make sense to only reset the flag at the end of a loop. (i.e. buttonPressed() remains true for the entire loop if in fact the button was pressed.
There’s plenty more to respond to here, just wanted to let you know I am reading it an plan to respond, it hasn’t been simply into the ether