From 897a153d290ed4d3647ad9e0100d1b717f580b5f Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Tue, 12 May 2026 16:41:37 -0400 Subject: typedef all structs and rename to Ada_Case There isn't really a technical reason that I made this change. I just wanted to use Ada_Case. All types were prefixed with ty_, e.g. ty_Image. --- teensy/teensy_context.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'teensy/teensy_context.h') 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); -- cgit v1.3-2-g0d8e