diff options
| author | onelin <oscar@nelin.dk> | 2025-03-13 17:48:58 +0000 |
|---|---|---|
| committer | onelin <oscar@nelin.dk> | 2025-03-13 17:55:55 +0000 |
| commit | a9713cdda4df398cbcb3131cce47cdb6e6d87386 (patch) | |
| tree | ba044f71ffa5a60024dd1341e78772adffe28159 /src/ctrl/include | |
| parent | bb170ff42b30dd44c2352bd2c93ad2974241721c (diff) | |
Use nanoseconds for time measurements
Diffstat (limited to 'src/ctrl/include')
| -rw-r--r-- | src/ctrl/include/engine/ctrl/input.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
