mirror of
https://github.com/marian-m12l/game-and-watch-zelda3.git
synced 2025-12-17 07:16:05 +01:00
21 lines
382 B
C
21 lines
382 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)
|
|
#define B_POWER (1 << 9)
|
|
#define B_START (1 << 10)
|
|
#define B_SELECT (1 << 11)
|
|
|
|
uint32_t buttons_get();
|
|
|
|
#endif |