diff options
| author | Drew DeVault <sir@cmpwn.com> | 2024-11-18 17:58:43 +0100 |
|---|---|---|
| committer | Drew DeVault <sir@cmpwn.com> | 2024-11-18 17:59:05 +0100 |
| commit | 5ae3aca9f64a2a3b7b1ec12038c79755b58502fa (patch) | |
| tree | e3e8c08336a1175cdd050baf69f6376eeb6cb152 | |
| parent | Add SDL_GL_GetDrawableSize (diff) | |
| download | hare-chip8-5ae3aca9f64a2a3b7b1ec12038c79755b58502fa.tar.gz | |
Add SDL text input wrappers
| -rw-r--r-- | sdl2/keyboard.ha | 2 |
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; |
