From bad6a1bc330738b53255a21866c07f81f4bec72e Mon Sep 17 00:00:00 2001 From: Youness Alaoui Date: Wed, 7 Sep 2011 06:58:35 +0000 Subject: [PATCH] Ecore: SDL 1.3 doesn't define SDLK_FIRST and SDLK_WORLD_* keys SVN revision: 63254 --- legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl_Keys.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl_Keys.h b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl_Keys.h index 77e06a5ca3..4d0b60b854 100644 --- a/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl_Keys.h +++ b/legacy/ecore/src/lib/ecore_sdl/Ecore_Sdl_Keys.h @@ -11,7 +11,9 @@ struct _ecore_sdl_keys_s static const struct _ecore_sdl_keys_s keystable[] = { { SDLK_UNKNOWN, "0x00", "" }, +#ifndef BUILD_ECORE_EVAS_SDL_130 { SDLK_FIRST, "First", "First" }, +#endif { SDLK_BACKSPACE, "BackSpace", "\010" }, { SDLK_TAB, "Tab", "\011" }, { SDLK_CLEAR, "Clear", "Clear" }, @@ -87,6 +89,7 @@ static const struct _ecore_sdl_keys_s keystable[] = { SDLK_DELETE, "Delete", "\177" }, /* End of ASCII mapped keysyms */ +#ifndef BUILD_ECORE_EVAS_SDL_130 /* International keyboard syms */ { SDLK_WORLD_0, "w0", "" }, /* 0xA0 */ { SDLK_WORLD_1, "w1", "" }, @@ -184,7 +187,7 @@ static const struct _ecore_sdl_keys_s keystable[] = { SDLK_WORLD_93, "w93", "" }, { SDLK_WORLD_94, "w94", "" }, { SDLK_WORLD_95, "w95", "" }, - +#endif /* Numeric keypad */ { SDLK_KP0, "KP0", "0" }, { SDLK_KP1, "KP1", "1" },