From 5ae3aca9f64a2a3b7b1ec12038c79755b58502fa Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Mon, 18 Nov 2024 17:58:43 +0100 Subject: Add SDL text input wrappers --- sdl2/keyboard.ha | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sdl2/keyboard.ha b/sdl2/keyboard.ha index cc137d2..b9759dd 100644 --- a/sdl2/keyboard.ha +++ b/sdl2/keyboard.ha @@ -653,3 +653,5 @@ export fn SDL_GetKeyboardState() []bool = { return arr; }; +export @symbol("SDL_StartTextInput") fn SDL_StartTextInput(win: *SDL_Window) bool; +export @symbol("SDL_StopTextInput") fn SDL_StopTextInput(win: *SDL_Window) bool; -- cgit v1.2.3