PicoMite Arrow Key Detection

Hello again! I’m trying to program a snake clone for PicoMite. So I’ve been reading the guide and haven’t been able to find anything on the arrow keys. How would I do this? Thanks!

#define KEY_UP        0xb5
#define KEY_DOWN      0xb6
#define KEY_LEFT      0xb4
#define KEY_RIGHT     0xb7

PicoCalc keyboard is an i2c keyboard ,not typical usb hid device

so above , in

defined the key values

and I guess you have to map the key values in your program

1 Like

For an example using arrow up and down, see menu.bas in @rlauzon’s repo here:

The values for these keys and many more are in the PicoMite manual in appendix H.

1 Like