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/main.c
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/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6d59395..0566e77 100644
--- a/src/main.c
+++ b/src/main.c
@@ -67,7 +67,7 @@ static void convert_input
{
if (conf->enable_timeout)
{
- switch (relabsd_device_wait_next_event(dev, conf))
+ switch (relabsd_input_wait_for_next_event(input, conf))
{
case 1:
break;