summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-15 00:06:57 -0400
committerGitHub <noreply@github.com>2020-08-15 00:06:57 -0400
commit25f45ffa8441b0f0a999355c9755782ccb4809dc (patch)
tree203d2ba0f2261d76f683ab4b869627b633808dd4 /include/global.h
parent98e68a81120433348296e6947af5a539ec20ae3c (diff)
parent82e322bb96e4f7ecd59d536bdb8315edab61f9b6 (diff)
Merge pull request #1125 from GriffinRichards/doc-namingscr
Document naming screen
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 9612a25f0..478c9f69a 100644
--- a/include/global.h
+++ b/include/global.h
@@ -102,6 +102,7 @@
#define TEST_BUTTON(field, button) ({(field) & (button);})
#define JOY_NEW(button) TEST_BUTTON(gMain.newKeys, button)
#define JOY_HELD(button) TEST_BUTTON(gMain.heldKeys, button)
+#define JOY_REPEAT(button) TEST_BUTTON(gMain.newAndRepeatedKeys, button)
#define S16TOPOSFLOAT(val) \
({ \