2019-11-30 14:48:36 +00:00
|
|
|
// Changed from their TH03 values.
|
2021-01-21 13:13:12 +00:00
|
|
|
typedef uint16_t input_t;
|
2019-11-30 14:48:36 +00:00
|
|
|
|
2021-01-21 13:13:12 +00:00
|
|
|
static const input_t INPUT_NONE = 0x0000;
|
|
|
|
static const input_t INPUT_UP = 0x0001;
|
|
|
|
static const input_t INPUT_DOWN = 0x0002;
|
|
|
|
static const input_t INPUT_LEFT = 0x0004;
|
|
|
|
static const input_t INPUT_RIGHT = 0x0008;
|
|
|
|
static const input_t INPUT_BOMB = 0x0010;
|
|
|
|
static const input_t INPUT_SHOT = 0x0020;
|
|
|
|
static const input_t INPUT_UP_LEFT = 0x0100;
|
|
|
|
static const input_t INPUT_UP_RIGHT = 0x0200;
|
|
|
|
static const input_t INPUT_DOWN_LEFT = 0x0400;
|
|
|
|
static const input_t INPUT_DOWN_RIGHT = 0x0800;
|
|
|
|
static const input_t INPUT_CANCEL = 0x1000;
|
|
|
|
static const input_t INPUT_OK = 0x2000;
|
|
|
|
static const input_t INPUT_Q = 0x4000;
|
|
|
|
|
|
|
|
static const input_t INPUT_MOVEMENT = (
|
|
|
|
INPUT_UP | INPUT_DOWN | INPUT_LEFT | INPUT_RIGHT |
|
2019-11-30 14:48:36 +00:00
|
|
|
INPUT_UP_LEFT | INPUT_UP_RIGHT | INPUT_DOWN_LEFT | INPUT_DOWN_RIGHT
|
2021-01-21 13:13:12 +00:00
|
|
|
);
|
2020-09-19 17:18:59 +00:00
|
|
|
|
2021-01-21 13:13:12 +00:00
|
|
|
extern input_t key_det; /* ZUN symbol [MAGNet2010] */
|