comparison 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
comparison
equal deleted inserted replaced
2299:a7cbc25071b6 2300:c97ad1abe05b
46 #ifndef DEFAULT_UNICODE_TRANSLATION 46 #ifndef DEFAULT_UNICODE_TRANSLATION
47 #define DEFAULT_UNICODE_TRANSLATION 0 /* Default off because of overhead */ 47 #define DEFAULT_UNICODE_TRANSLATION 0 /* Default off because of overhead */
48 #endif 48 #endif
49 extern int SDL_TranslateUNICODE; 49 extern int SDL_TranslateUNICODE;
50 50
51 /* convert UCS4 to utf8 */
52 extern char *SDL_Ucs4ToUtf8(Uint32 ch, char *dst);
53
51 /* Initialize the keyboard subsystem */ 54 /* Initialize the keyboard subsystem */
52 extern int SDL_KeyboardInit(void); 55 extern int SDL_KeyboardInit(void);
53 56
54 /* Get the keyboard at an index */ 57 /* Get the keyboard at an index */
55 extern SDL_Keyboard *SDL_GetKeyboard(int index); 58 extern SDL_Keyboard *SDL_GetKeyboard(int index);