SDL2: readline.c uses SDL_TEXTINPUT unicode input text

This commit is contained in:
Thomas Bernard
2018-06-19 14:18:12 +02:00
parent 501ce2a4ad
commit aa73e76e67
3 changed files with 92 additions and 3 deletions

View File

@@ -98,6 +98,11 @@ GFX2_GLOBAL dword Key_ANSI;
GFX2_GLOBAL dword Key_UNICODE;
/// from SDL_TextInputEvent
#if defined(USE_SDL2)
GFX2_GLOBAL char Key_Text[32];
#endif
// Keyboard modifiers
// (Name conflict with windows.h)
#ifdef MOD_SHIFT