Files
gnwmanager/Core/Inc/buttons.h
2023-08-19 15:52:11 -07:00

23 lines
384 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