summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-02 00:09:14 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-02 00:09:14 -0400
commit75262c1920a0611f89e95837efb4f5e327760a8b (patch)
tree9982e4fcd275f8a1ea3c851c3dbf297d9e1c1307 /include/gba
parent6e5dcf19f76b1839537848cf0fd91c7ddb27898c (diff)
parentc71f6baa8cb713a567520279ff18dca0c4ed0915 (diff)
Merge branch 'master' into bard_music
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 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)