• Thanks! Well, in this case it seems to be kind-of expected...

    Could it be that showMenu is responding to the mouse up event?

    Yes, that's the intention - because otherwise we were getting in this state where something would be done when the button was pressed, and then that new code would react to the 'up' event.

    So instead we generally react on the 'up' event because then we know we're not going to be getting any other button events.

    BTN2 press on a showMenu doesn't select a menu item

    Is it not just that the Bangle had locked itself between times (or just as you're pressing the button)? If the bangle is locked, the first button press goes to unlocking it and not to create an actual button event?

About

Avatar for Gordon @Gordon started