Added SDL_IPHONE_KEYBOARD macro, which controls whether or not the SDL for iPhone is compiled with keyboard support or not. gsoc2008_iphone
authorHolmes Futrell <hfutrell@umail.ucsb.edu>
Tue, 29 Jul 2008 17:25:54 +0000
branchgsoc2008_iphone
changeset 2408 f0c16f5ecd75
parent 2407 6c31bbd56c49
child 2409 8cd70487d040
Added SDL_IPHONE_KEYBOARD macro, which controls whether or not the SDL for iPhone is compiled with keyboard support or not.
include/SDL_config_iphoneos.h
--- a/include/SDL_config_iphoneos.h	Tue Jul 29 17:23:50 2008 +0000
+++ b/include/SDL_config_iphoneos.h	Tue Jul 29 17:25:54 2008 +0000
@@ -43,6 +43,9 @@
 
 typedef unsigned long uintptr_t;
 
+/* enable keyboard support */
+#define SDL_IPHONE_KEYBOARD 1
+
 /* enable OpenGL ES */
 #define SDL_VIDEO_OPENGL_ES	1