From 5529decf34faea5439c722b7b75758b3a7c03c87 Mon Sep 17 00:00:00 2001 From: Holmes Futrell Date: Tue, 29 Jul 2008 17:25:54 +0000 Subject: [PATCH] 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 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/SDL_config_iphoneos.h b/include/SDL_config_iphoneos.h index 92918daa4..3fba9982d 100644 --- a/include/SDL_config_iphoneos.h +++ b/include/SDL_config_iphoneos.h @@ -43,6 +43,9 @@ typedef unsigned int uint32_t; typedef unsigned long uintptr_t; +/* enable keyboard support */ +#define SDL_IPHONE_KEYBOARD 1 + /* enable OpenGL ES */ #define SDL_VIDEO_OPENGL_ES 1