summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-23 16:19:05 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-09-23 16:19:05 +0200
commite9b84b7e4612da198576c7b7e64e0c72674597cf (patch)
tree6482ca725f2b9fcde1de37ed72568fc08565d8d8 /src/input.h
parent9e29819c5986b3a7fcbbab70da0cb2a7bebcfaba (diff)
Seems to work, mostly.
Issues remaining: - Spams the reset_axes until the first actual input is received. - Timeout is still set as a compilation option instead of a runtime one.
Diffstat (limited to 'src/input.h')
-rw-r--r--src/input.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/input.h b/src/input.h
index 2be236c..e48b970 100644
--- a/src/input.h
+++ b/src/input.h
@@ -43,4 +43,10 @@ int relabsd_input_read
int * const input_value
);
+int relabsd_input_wait_for_next_event
+(
+ const struct relabsd_input * const input,
+ const struct relabsd_config * const config
+);
+
#endif