src/events/scancodes_xfree86.h
changeset 10494 c54de4000f9f
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
equal deleted inserted replaced
10493:30155a7426c4 10494:c54de4000f9f
   416     /* 236 */   SDL_SCANCODE_UNKNOWN,   /* XF86Battery */
   416     /* 236 */   SDL_SCANCODE_UNKNOWN,   /* XF86Battery */
   417     /* 237 */   SDL_SCANCODE_UNKNOWN,   /* XF86Bluetooth */
   417     /* 237 */   SDL_SCANCODE_UNKNOWN,   /* XF86Bluetooth */
   418     /* 238 */   SDL_SCANCODE_UNKNOWN,   /* XF86WLAN */
   418     /* 238 */   SDL_SCANCODE_UNKNOWN,   /* XF86WLAN */
   419 };
   419 };
   420 
   420 
       
   421 /* Xvnc / Xtightvnc scancodes from xmodmap -pk */
       
   422 static const SDL_Scancode xvnc_scancode_table[] = {
       
   423     /*  0 */    SDL_SCANCODE_LCTRL,
       
   424     /*  1 */    SDL_SCANCODE_RCTRL,
       
   425     /*  2 */    SDL_SCANCODE_LSHIFT,
       
   426     /*  3 */    SDL_SCANCODE_RSHIFT,
       
   427     /*  4 */    SDL_SCANCODE_UNKNOWN, /* Meta_L */
       
   428     /*  5 */    SDL_SCANCODE_UNKNOWN, /* Meta_R */
       
   429     /*  6 */    SDL_SCANCODE_LALT,
       
   430     /*  7 */    SDL_SCANCODE_RALT,
       
   431     /*  8 */    SDL_SCANCODE_SPACE,
       
   432     /*  9 */    SDL_SCANCODE_0,
       
   433     /*  10 */   SDL_SCANCODE_1,
       
   434     /*  11 */   SDL_SCANCODE_2,
       
   435     /*  12 */   SDL_SCANCODE_3,
       
   436     /*  13 */   SDL_SCANCODE_4,
       
   437     /*  14 */   SDL_SCANCODE_5,
       
   438     /*  15 */   SDL_SCANCODE_6,
       
   439     /*  16 */   SDL_SCANCODE_7,
       
   440     /*  17 */   SDL_SCANCODE_8,
       
   441     /*  18 */   SDL_SCANCODE_9,
       
   442     /*  19 */   SDL_SCANCODE_MINUS,
       
   443     /*  20 */   SDL_SCANCODE_EQUALS,
       
   444     /*  21 */   SDL_SCANCODE_LEFTBRACKET,
       
   445     /*  22 */   SDL_SCANCODE_RIGHTBRACKET,
       
   446     /*  23 */   SDL_SCANCODE_SEMICOLON,
       
   447     /*  24 */   SDL_SCANCODE_APOSTROPHE,
       
   448     /*  25 */   SDL_SCANCODE_GRAVE,
       
   449     /*  26 */   SDL_SCANCODE_COMMA,
       
   450     /*  27 */   SDL_SCANCODE_PERIOD,
       
   451     /*  28 */   SDL_SCANCODE_SLASH,
       
   452     /*  29 */   SDL_SCANCODE_BACKSLASH,
       
   453     /*  30 */   SDL_SCANCODE_A,
       
   454     /*  31 */   SDL_SCANCODE_B,
       
   455     /*  32 */   SDL_SCANCODE_C,
       
   456     /*  33 */   SDL_SCANCODE_D,
       
   457     /*  34 */   SDL_SCANCODE_E,
       
   458     /*  35 */   SDL_SCANCODE_F,
       
   459     /*  36 */   SDL_SCANCODE_G,
       
   460     /*  37 */   SDL_SCANCODE_H,
       
   461     /*  38 */   SDL_SCANCODE_I,
       
   462     /*  39 */   SDL_SCANCODE_J,
       
   463     /*  40 */   SDL_SCANCODE_K,
       
   464     /*  41 */   SDL_SCANCODE_L,
       
   465     /*  42 */   SDL_SCANCODE_M,
       
   466     /*  43 */   SDL_SCANCODE_N,
       
   467     /*  44 */   SDL_SCANCODE_O,
       
   468     /*  45 */   SDL_SCANCODE_P,
       
   469     /*  46 */   SDL_SCANCODE_Q,
       
   470     /*  47 */   SDL_SCANCODE_R,
       
   471     /*  48 */   SDL_SCANCODE_S,
       
   472     /*  49 */   SDL_SCANCODE_T,
       
   473     /*  50 */   SDL_SCANCODE_U,
       
   474     /*  51 */   SDL_SCANCODE_V,
       
   475     /*  52 */   SDL_SCANCODE_W,
       
   476     /*  53 */   SDL_SCANCODE_X,
       
   477     /*  54 */   SDL_SCANCODE_Y,
       
   478     /*  55 */   SDL_SCANCODE_Z,
       
   479     /*  56 */   SDL_SCANCODE_BACKSPACE,
       
   480     /*  57 */   SDL_SCANCODE_RETURN,
       
   481     /*  58 */   SDL_SCANCODE_TAB,
       
   482     /*  59 */   SDL_SCANCODE_ESCAPE,
       
   483     /*  60 */   SDL_SCANCODE_DELETE,
       
   484     /*  61 */   SDL_SCANCODE_HOME,
       
   485     /*  62 */   SDL_SCANCODE_END,
       
   486     /*  63 */   SDL_SCANCODE_PAGEUP,
       
   487     /*  64 */   SDL_SCANCODE_PAGEDOWN,
       
   488     /*  65 */   SDL_SCANCODE_UP,
       
   489     /*  66 */   SDL_SCANCODE_DOWN,
       
   490     /*  67 */   SDL_SCANCODE_LEFT,
       
   491     /*  68 */   SDL_SCANCODE_RIGHT,
       
   492     /*  69 */   SDL_SCANCODE_F1,
       
   493     /*  70 */   SDL_SCANCODE_F2,
       
   494     /*  71 */   SDL_SCANCODE_F3,
       
   495     /*  72 */   SDL_SCANCODE_F4,
       
   496     /*  73 */   SDL_SCANCODE_F5,
       
   497     /*  74 */   SDL_SCANCODE_F6,
       
   498     /*  75 */   SDL_SCANCODE_F7,
       
   499     /*  76 */   SDL_SCANCODE_F8,
       
   500     /*  77 */   SDL_SCANCODE_F9,
       
   501     /*  78 */   SDL_SCANCODE_F10,
       
   502     /*  79 */   SDL_SCANCODE_F11,
       
   503     /*  80 */   SDL_SCANCODE_F12,
       
   504 };
       
   505 
   421 /* *INDENT-ON* */
   506 /* *INDENT-ON* */