From e9b84b7e4612da198576c7b7e64e0c72674597cf Mon Sep 17 00:00:00 2001 From: Nathanael Sensfelder Date: Sat, 23 Sep 2017 16:19:05 +0200 Subject: 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. --- src/input.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/input.h') 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 -- cgit v1.2.3-70-g09d2