Ecore: SDL 1.3 doesn't define SDLK_FIRST and SDLK_WORLD_* keys
authorkakaroto <kakaroto@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Sep 2011 06:58:35 +0000 (06:58 +0000)
committerkakaroto <kakaroto@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Sep 2011 06:58:35 +0000 (06:58 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@63254 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_sdl/Ecore_Sdl_Keys.h

index 77e06a5..4d0b60b 100644 (file)
@@ -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" },