No, you were correct: it’s 0x91 for power and 0x81 for F1 in the original firmware. Sorry, it was my mistake because I’ve been in the wacky world of PicoMite too long. PicoMite expects most of the keys to have different values, and inside PicoMite F1 is 0x91. In PicoMite 0x81 is the down arrow. I have no idea why they redefined everything, but to maintain compatibility with existing BAS files, I translated everything to their keycodes. And I now realize that’s exactly what I need to do here. I can convert 0x91 to 0x66 since that’s what PicoMite expects it to be.
Ah! I was looking at github, but I actually cloned from the main repo, as I used the path mentioned here. That also explains why I couldn’t find mention of the power button in the github code. I looked for it and thought I was just failing to find it.
