summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-01 23:37:41 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-01 23:37:41 -0400
commit9cfdc8b7e8cba38bc530b16993f628c92f69c025 (patch)
treed37bef6a048f87491011addb679cb75ef0d8c74a /include/gba/io_reg.h
parent1b499670bd8a428f9b0d5506c334aa88bf4272a3 (diff)
parent63210c07897e86953bf093397eee5a33e95b8c91 (diff)
Merge branch 'master' into heal_location
Diffstat (limited to 'include/gba/io_reg.h')
-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 83a2a123b..f86f2434c 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -628,6 +628,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)