From 1ae6d936ebd5adeff5c2b34f3a3d5a5e2038a3d1 Mon Sep 17 00:00:00 2001 From: Quinn Date: Mon, 30 Jun 2025 10:59:28 +0200 Subject: [PATCH] seperate rotation timeout --- src/io/input.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/io/input.c b/src/io/input.c index f5fa2e1..f1892e3 100644 --- a/src/io/input.c +++ b/src/io/input.c @@ -49,6 +49,6 @@ int input_getdat(time_t time) { } } - static time_t timeout = 0; - return movdat & (-!!time_poll(time, 64, &timeout)); + static time_t timeout = 0, timeout_roll = 0; + return movdat & (((MOVR | MOVL | MOVD) & -!!time_poll(time, 64, &timeout)) | ((MOVRL | MOVRR) & -!!time_poll(time, 128, &timeout_roll))); }