mirror of
https://github.com/ghidraninja/game-and-watch-flashloader.git
synced 2025-12-17 01:16:08 +01:00
18 lines
304 B
C
18 lines
304 B
C
#ifndef _BUTTONS_H_
|
|
#define _BUTTONS_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
#define B_Left (1 << 0)
|
|
#define B_Up (1 << 1)
|
|
#define B_Right (1 << 2)
|
|
#define B_Down (1 << 3)
|
|
#define B_A (1 << 4)
|
|
#define B_B (1 << 5)
|
|
#define B_TIME (1 << 6)
|
|
#define B_GAME (1 << 7)
|
|
#define B_PAUSE (1 << 8)
|
|
|
|
uint32_t buttons_get();
|
|
|
|
#endif |