Well it depends on the emu you are using. Those keys coraspond to the keys
on the GBA not the keyboard. tab and space are a and b in igba and shift I
believe is the select key and enter the start key. Although you need to
check your emu's docs to find which keys are which.
-dovoto
-----Original Message-----
From: eagle@... [mailto:eagle@...]
Sent: Sunday, July 01, 2001 2:15 PM
To: gbadev@yahoogroups.com
Subject: [gbadev] Key assignments
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;
list rules: http://www.gbadev.org/rules.txt
unsubscribe: gbadev-unsubscribe@egroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/