projects
/
gbajam22
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
porting voxscape to gba
[gbajam22]
/
src
/
input.h
diff --git
a/src/input.h
b/src/input.h
index
3ed22a0
..
b7694c8
100644
(file)
--- a/
src/input.h
+++ b/
src/input.h
@@
-21,4
+21,10
@@
enum {
void select_input(uint16_t bmask);
uint16_t get_input(void);
+#ifdef BUILD_GBA
+#define read_input() (~REG_KEYINPUT)
+#else
+#define read_input() get_input()
+#endif
+
#endif /* INPUT_H_ */