src/video/uikit/keyinfotable.h
changeset 6002 0c0aaaa1e5ed
parent 6001 3ae3d1e58d59
child 6138 4c64952a58fb
equal deleted inserted replaced
6001:3ae3d1e58d59 6002:0c0aaaa1e5ed
    37     Uint16 mod;
    37     Uint16 mod;
    38 } UIKitKeyInfo;
    38 } UIKitKeyInfo;
    39 
    39 
    40 /* So far only ASCII characters here */
    40 /* So far only ASCII characters here */
    41 static UIKitKeyInfo unicharToUIKeyInfoTable[] = {
    41 static UIKitKeyInfo unicharToUIKeyInfoTable[] = {
    42 /* *INDENT-OFF* */
       
    43 /*  0 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    42 /*  0 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    44 /*  1 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    43 /*  1 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    45 /*  2 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    44 /*  2 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    46 /*  3 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    45 /*  3 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    47 /*  4 */  {  SDL_SCANCODE_UNKNOWN, 0 },
    46 /*  4 */  {  SDL_SCANCODE_UNKNOWN, 0 },
   166 /*  123 */{    SDL_SCANCODE_LEFTBRACKET, KMOD_SHIFT },    /* plus shift modifier '{' */
   165 /*  123 */{    SDL_SCANCODE_LEFTBRACKET, KMOD_SHIFT },    /* plus shift modifier '{' */
   167 /*  124 */{    SDL_SCANCODE_BACKSLASH, KMOD_SHIFT },    /* plus shift modifier '|' */
   166 /*  124 */{    SDL_SCANCODE_BACKSLASH, KMOD_SHIFT },    /* plus shift modifier '|' */
   168 /*  125 */{    SDL_SCANCODE_RIGHTBRACKET, KMOD_SHIFT },    /* plus shift modifier '}' */
   167 /*  125 */{    SDL_SCANCODE_RIGHTBRACKET, KMOD_SHIFT },    /* plus shift modifier '}' */
   169 /*  126 */{    SDL_SCANCODE_GRAVE, KMOD_SHIFT },         /* plus shift modifier '~' */
   168 /*  126 */{    SDL_SCANCODE_GRAVE, KMOD_SHIFT },         /* plus shift modifier '~' */
   170 /*  127 */{    SDL_SCANCODE_DELETE, KMOD_SHIFT }
   169 /*  127 */{    SDL_SCANCODE_DELETE, KMOD_SHIFT }
   171 /* *INDENT-ON* */
       
   172 };
   170 };
   173 
   171 
   174 #endif /* UIKitKeyInfo */
   172 #endif /* UIKitKeyInfo */
   175 
   173 
   176 /* vi: set ts=4 sw=4 expandtab: */
   174 /* vi: set ts=4 sw=4 expandtab: */