From 3d1c16523e277b0b4044e685aa118c15aaaeffe9 Mon Sep 17 00:00:00 2001 From: DizzyEggg Date: Sat, 21 Oct 2017 17:32:35 +0200 Subject: start working on battle controllers, especially player --- include/gba/io_reg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/gba') diff --git a/include/gba/io_reg.h b/include/gba/io_reg.h index f8c89fdbd..a2be31975 100644 --- a/include/gba/io_reg.h +++ b/include/gba/io_reg.h @@ -622,6 +622,8 @@ #define KEY_OR_INTR 0x0000 #define KEY_AND_INTR 0x8000 +#define DPAD_ANY ((DPAD_RIGHT | DPAD_LEFT | DPAD_UP | DPAD_DOWN)) + // interrupt flags #define INTR_FLAG_VBLANK (1 << 0) #define INTR_FLAG_HBLANK (1 << 1) -- cgit v1.2.3