aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2024-11-18 17:58:43 +0100
committerDrew DeVault <sir@cmpwn.com>2024-11-18 17:59:05 +0100
commit5ae3aca9f64a2a3b7b1ec12038c79755b58502fa (patch)
treee3e8c08336a1175cdd050baf69f6376eeb6cb152
parentAdd SDL_GL_GetDrawableSize (diff)
downloadhare-chip8-5ae3aca9f64a2a3b7b1ec12038c79755b58502fa.tar.gz
Add SDL text input wrappers
-rw-r--r--sdl2/keyboard.ha2
1 files changed, 2 insertions, 0 deletions
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;