aboutsummaryrefslogtreecommitdiff
path: root/teensy/teensy_context.c
diff options
context:
space:
mode:
authoriamcheeseman <[email protected]>2026-05-13 21:24:21 -0400
committeriamcheeseman <[email protected]>2026-05-13 21:24:21 -0400
commit8d2793e9ef7cf7f742ec23e77c44ac21a624d01f (patch)
treec8263278076d7c7fd575cfcf0dc35703e8dc426e /teensy/teensy_context.c
parent13e6f3d8403f0fdbed4ead1d8eda4d9ed68ac080 (diff)
start ui
Diffstat (limited to 'teensy/teensy_context.c')
-rw-r--r--teensy/teensy_context.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/teensy/teensy_context.c b/teensy/teensy_context.c
index 547a5dd..91b9b90 100644
--- a/teensy/teensy_context.c
+++ b/teensy/teensy_context.c
@@ -46,6 +46,11 @@ bool ty_button_pressed(ty_Button btn)
return ctx.pressed[btn];
}
+ty_Vec2i ty_mouse_pos(void)
+{
+ return ty_platform_get_mouse();
+}
+
bool ty_is_game_running(void)
{
assert(is_init());