-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_key_t
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
typedef enum {
GB_KEY_RIGHT,
GB_KEY_LEFT,
GB_KEY_UP,
GB_KEY_DOWN,
GB_KEY_A,
GB_KEY_B,
GB_KEY_SELECT,
GB_KEY_START,
GB_KEY_MAX
} GB_key_t;
In joypad.h
An enum representing each of the 8 buttons of a Game Boy, for use with functions such as GB_set_key_state.