diff options
Diffstat (limited to 'teensy/teensy_context.h')
| -rw-r--r-- | teensy/teensy_context.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/teensy/teensy_context.h b/teensy/teensy_context.h index 7223d3d..f9d4bf4 100644 --- a/teensy/teensy_context.h +++ b/teensy/teensy_context.h @@ -5,15 +5,15 @@ #include "teensy_renderer.h" #include "teensy.h" -struct ty_ctx { - struct ty_hints hints; +typedef struct { + ty_Hints hints; double ticrate; double prev_tic_ts; bool down[TY_BTN_COUNT]; bool pressed[TY_BTN_COUNT]; -}; +} ty_Ctx; -extern struct ty_ctx ctx; +extern ty_Ctx ctx; bool is_init(void); |
