summaryrefslogtreecommitdiff
path: root/include/gba
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2017-11-02 18:34:41 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2017-11-02 18:34:41 -0400
commited7ded0748b38b5266cdc6092446c7b184f75778 (patch)
tree0779eacd2dc6107e2dc47370abf82a1793cde6ed /include/gba
parent975e28c01e70c63587c8633ffc3c50b7d1759dec (diff)
parentaf197ccd3bd62fab813154dc4311e65f9992a676 (diff)
Merge branch 'master' into easy_chat
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)