summaryrefslogtreecommitdiff
path: root/include/gba/io_reg.h
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2017-06-14 00:05:22 -0400
committerGitHub <noreply@github.com>2017-06-14 00:05:22 -0400
commit48a15638c63f2b3d4b2d12d346e466ddca006570 (patch)
tree89942e8cf1e40968b48759bf2b4e575912a2271b /include/gba/io_reg.h
parente09e1da6c252e17cf6db429ad142b05dbf156548 (diff)
parent4e7297790f29987b1dd502fcf3b03ca76042c622 (diff)
Merge pull request #316 from PikalaxALT/decoration
Decoration
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 c0874bcbb..d483d4ddc 100644
--- a/include/gba/io_reg.h
+++ b/include/gba/io_reg.h
@@ -639,6 +639,8 @@
#define KEY_INTR_ENABLE 0x0400
#define KEY_OR_INTR 0x0000
#define KEY_AND_INTR 0x8000
+#define DPAD_ANY 0x00F0
+#define JOY_EXCL_DPAD 0x030F
// interrupt flags
#define INTR_FLAG_VBLANK (1 << 0)