SDL_TEXTINPUT support for EVDEV
This commit is contained in:
parent
201fa56aaa
commit
7b5e9e302b
8 changed files with 224 additions and 22 deletions
|
@ -507,7 +507,7 @@ static const char *SDL_scancode_names[SDL_NUM_SCANCODES] = {
|
|||
};
|
||||
|
||||
/* Taken from SDL_iconv() */
|
||||
static char *
|
||||
char *
|
||||
SDL_UCS4ToUTF8(Uint32 ch, char *dst)
|
||||
{
|
||||
Uint8 *p = (Uint8 *) dst;
|
||||
|
|
|
@ -59,6 +59,9 @@ extern int SDL_SendEditingText(const char *text, int start, int end);
|
|||
/* Shutdown the keyboard subsystem */
|
||||
extern void SDL_KeyboardQuit(void);
|
||||
|
||||
/* Convert to UTF-8 */
|
||||
extern char *SDL_UCS4ToUTF8(Uint32 ch, char *dst);
|
||||
|
||||
#endif /* _SDL_keyboard_c_h */
|
||||
|
||||
/* vi: set ts=4 sw=4 expandtab: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue