diff options
Diffstat (limited to 'teensy/teensy_context.c')
| -rw-r--r-- | teensy/teensy_context.c | 5 |
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()); |
