summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-10-21 17:32:35 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-10-21 17:32:35 +0200
commit3d1c16523e277b0b4044e685aa118c15aaaeffe9 (patch)
tree5e1561b2ee508383dc50e3cc7fc473edfb21b2d2 /include/gba
parentafd42c8e145c77fbf07799a54aec405766eed45c (diff)
start working on battle controllers, especially player
Diffstat (limited to 'include/gba')
-rw-r--r--include/gba/io_reg.h2
1 files changed, 2 insertions, 0 deletions
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)