diff src/events/SDL_keyboard_c.h @ 2300:c97ad1abe05b

Minimal implementation of textinput events for x11. It only works for latin-1.
author Bob Pendleton <bob@pendleton.com>
date Tue, 15 Jan 2008 22:37:17 +0000
parents 4baee598306d
children d87417504c75
line wrap: on
line diff
--- a/src/events/SDL_keyboard_c.h	Sat Jan 12 18:07:06 2008 +0000
+++ b/src/events/SDL_keyboard_c.h	Tue Jan 15 22:37:17 2008 +0000
@@ -48,6 +48,9 @@
 #endif
 extern int SDL_TranslateUNICODE;
 
+/* convert UCS4 to utf8 */
+extern char *SDL_Ucs4ToUtf8(Uint32 ch, char *dst);
+
 /* Initialize the keyboard subsystem */
 extern int SDL_KeyboardInit(void);