Badger 2040 W - alternative key to return to menu

Hello,

I find the A+C combination a little unreliable. Given that (e.g.) key A doesn’t do much in the badge or QR codes, what would I need to do to set key A to return to the menu? I.e., suppose qrgen.py is running - how do I set badger2040.BUTTON_A to return to the menu?

I tried to add badger2040.pressed_to_wake(badger2040.BUTTON_A) to qrgen.py and launcher.py, but didn’t work.

Could somebody let me know how to do this?

It turns out that the A+C combination is only unreliable on battery power. See referenced issue. Also raised here: Erratic performance of badger OS when using battery · Issue #6 · pimoroni/badger2040 · GitHub