From the PERN project, I got the key assignments shown below.
However, on my PC, they don't seem to correspond to the keys I expect
as seen from the names assigned to them (see the comments)
Can anyone tell me what's going on and/or what the few keys I
couldn't find are?
thanks,
Eagle
#define KEY_A 1 // if I hit "tab" I get KEY_A
#define KEY_B 2 // if I hit "space" I get KEY_B
#define KEY_SELECT 4 // cant find this one ???
#define KEY_START 8 // cant find this one ???
#define KEY_RIGHT 16 // this ones fine
#define KEY_LEFT 32 // this ones fine
#define KEY_UP 64 // this ones fine
#define KEY_DOWN 128 // this ones fine
#define KEY_R 256 // If I hit"W" I get KEY_R
#define KEY_L 512 // If I hit"Q" I get KEY_L
volatile u32* KEYS = (volatile u32*)0x04000130;