mirror of
https://github.com/zeldaret/st
synced 2026-05-23 06:54:21 -04:00
ed672be03f
* Decompile Title overlay * math structs as cpp when applicable * fixes and improvements * regressions fix 1 * regressions fix 2
15 lines
426 B
C
15 lines
426 B
C
#pragma once
|
|
|
|
#define BTN_A (1 << 0) // 0x0001
|
|
#define BTN_B (1 << 1) // 0x0002
|
|
#define BTN_SELECT (1 << 2) // 0x0004
|
|
#define BTN_START (1 << 3) // 0x0008
|
|
#define BTN_DRIGHT (1 << 4) // 0x0010
|
|
#define BTN_DLEFT (1 << 5) // 0x0020
|
|
#define BTN_DUP (1 << 6) // 0x0040
|
|
#define BTN_DDOWN (1 << 7) // 0x0080
|
|
#define BTN_R (1 << 8) // 0x0100
|
|
#define BTN_L (1 << 9) // 0x0200
|
|
|
|
#define CHECK_BUTTON_COMBO(value, btn) ((value) & (btn))
|