From a9713cdda4df398cbcb3131cce47cdb6e6d87386 Mon Sep 17 00:00:00 2001 From: onelin Date: Thu, 13 Mar 2025 18:48:58 +0100 Subject: Use nanoseconds for time measurements --- src/ctrl/include/engine/ctrl/input.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ctrl/include') diff --git a/src/ctrl/include/engine/ctrl/input.h b/src/ctrl/include/engine/ctrl/input.h index 73a265b..960428c 100644 --- a/src/ctrl/include/engine/ctrl/input.h +++ b/src/ctrl/include/engine/ctrl/input.h @@ -55,7 +55,7 @@ void i_ctx_t_free(i_ctx* c); /* Executes all callbacks that has been pushed onto the callstack and resets the * callstack */ void i_flush_bindings(f64 dt, usize numcalls, input_callback_t* c[], void* state_mem); -action_t i_get_action(const i_ctx* restrict ctx, u32 time, scancode_t scancode); +action_t i_get_action(const i_ctx* restrict ctx, u64 time, scancode_t scancode); void key_callback(void* window, int key, int scancode, int action, int mods); -- cgit v1.3