I have what I guess is a pretty common requirement: I need to detect single button clicks but I want to ignore any clicks that were done to wake up a blink. On my loop(), I have this:
if (hasWoken()) {
// We just woke up. Consume button click event so it will not
buttonSingleClicked();
}
Even with this, it looks like button clicks are still somehow being detected. This is bad for my game because most button clicks results in datagrams being sent and them things might get into a weird state (different Blinks having a different view of the world). This is most evident when the Blinks go to deep sleep so that a click in a blink does not wake up the others.
Any suggestions on how to effectively deal with this?