From f4017a52d90567c2df482c5d553076dc706ac59b Mon Sep 17 00:00:00 2001 From: iamcheeseman Date: Mon, 11 May 2026 14:30:48 -0400 Subject: Allow user input --- teensy/teensy_context.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'teensy/teensy_context.h') diff --git a/teensy/teensy_context.h b/teensy/teensy_context.h index 056a0c2..7223d3d 100644 --- a/teensy/teensy_context.h +++ b/teensy/teensy_context.h @@ -5,6 +5,14 @@ #include "teensy_renderer.h" #include "teensy.h" +struct ty_ctx { + struct ty_hints hints; + double ticrate; + double prev_tic_ts; + bool down[TY_BTN_COUNT]; + bool pressed[TY_BTN_COUNT]; +}; + extern struct ty_ctx ctx; bool is_init(void); -- cgit v1.3-2-g0d8e