diff src/SDL_compat.c @ 2303:d87417504c75

First pass implementation of new SDL scancode concept, as discussed with Christian Walther. Currently only implemented on Mac OS X for sanity checking purposes.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 05 Feb 2008 07:19:23 +0000
parents c785543d1843
children c25d45b7add3
line wrap: on
line diff
--- a/src/SDL_compat.c	Mon Feb 04 17:25:33 2008 +0000
+++ b/src/SDL_compat.c	Tue Feb 05 07:19:23 2008 +0000
@@ -1531,4 +1531,10 @@
     }
 }
 
+int
+SDL_EnableUNICODE(int enable)
+{
+    return SDL_EventState(SDL_TEXTINPUT, enable);
+}
+
 /* vi: set ts=4 sw=4 expandtab: */