summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-08-24 14:52:33 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-08-24 17:06:55 -0400
commit22c1bf965a7e25dfdc1d577a5e9f15098beeef25 (patch)
tree11bf960d64ca29b0a478dd196f3a2cb7d4bb8951 /include/global.h
parent0ff767a9b5d6ece4547ab01a85d01012f7cf6800 (diff)
Finish documenting berry blender
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 7de8d1eb3..08988eac7 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_HELD_RAW(button) TEST_BUTTON(gMain.heldKeysRaw, button)
#define JOY_REPEAT(button) TEST_BUTTON(gMain.newAndRepeatedKeys, button)
#define S16TOPOSFLOAT(val) \