vnc_keysym.h

Go to the documentation of this file.
00001 typedef struct {
00002         const char* name;
00003         int keysym;
00004 } name2keysym_t;
00005 static name2keysym_t name2keysym[]={
00006 /* ascii */
00007     { "space",                0x020},
00008     { "exclam",               0x021},
00009     { "quotedbl",             0x022},
00010     { "numbersign",           0x023},
00011     { "dollar",               0x024},
00012     { "percent",              0x025},
00013     { "ampersand",            0x026},
00014     { "apostrophe",           0x027},
00015     { "parenleft",            0x028},
00016     { "parenright",           0x029},
00017     { "asterisk",             0x02a},
00018     { "plus",                 0x02b},
00019     { "comma",                0x02c},
00020     { "minus",                0x02d},
00021     { "period",               0x02e},
00022     { "slash",                0x02f},
00023     { "0",                    0x030},
00024     { "1",                    0x031},
00025     { "2",                    0x032},
00026     { "3",                    0x033},
00027     { "4",                    0x034},
00028     { "5",                    0x035},
00029     { "6",                    0x036},
00030     { "7",                    0x037},
00031     { "8",                    0x038},
00032     { "9",                    0x039},
00033     { "colon",                0x03a},
00034     { "semicolon",            0x03b},
00035     { "less",                 0x03c},
00036     { "equal",                0x03d},
00037     { "greater",              0x03e},
00038     { "question",             0x03f},
00039     { "at",                   0x040},
00040     { "A",                    0x041},
00041     { "B",                    0x042},
00042     { "C",                    0x043},
00043     { "D",                    0x044},
00044     { "E",                    0x045},
00045     { "F",                    0x046},
00046     { "G",                    0x047},
00047     { "H",                    0x048},
00048     { "I",                    0x049},
00049     { "J",                    0x04a},
00050     { "K",                    0x04b},
00051     { "L",                    0x04c},
00052     { "M",                    0x04d},
00053     { "N",                    0x04e},
00054     { "O",                    0x04f},
00055     { "P",                    0x050},
00056     { "Q",                    0x051},
00057     { "R",                    0x052},
00058     { "S",                    0x053},
00059     { "T",                    0x054},
00060     { "U",                    0x055},
00061     { "V",                    0x056},
00062     { "W",                    0x057},
00063     { "X",                    0x058},
00064     { "Y",                    0x059},
00065     { "Z",                    0x05a},
00066     { "bracketleft",          0x05b},
00067     { "backslash",            0x05c},
00068     { "bracketright",         0x05d},
00069     { "asciicircum",          0x05e},
00070     { "underscore",           0x05f},
00071     { "grave",                0x060},
00072     { "a",                    0x061},
00073     { "b",                    0x062},
00074     { "c",                    0x063},
00075     { "d",                    0x064},
00076     { "e",                    0x065},
00077     { "f",                    0x066},
00078     { "g",                    0x067},
00079     { "h",                    0x068},
00080     { "i",                    0x069},
00081     { "j",                    0x06a},
00082     { "k",                    0x06b},
00083     { "l",                    0x06c},
00084     { "m",                    0x06d},
00085     { "n",                    0x06e},
00086     { "o",                    0x06f},
00087     { "p",                    0x070},
00088     { "q",                    0x071},
00089     { "r",                    0x072},
00090     { "s",                    0x073},
00091     { "t",                    0x074},
00092     { "u",                    0x075},
00093     { "v",                    0x076},
00094     { "w",                    0x077},
00095     { "x",                    0x078},
00096     { "y",                    0x079},
00097     { "z",                    0x07a},
00098     { "braceleft",            0x07b},
00099     { "bar",                  0x07c},
00100     { "braceright",           0x07d},
00101     { "asciitilde",           0x07e},
00102 
00103 /* latin 1 extensions */
00104 { "nobreakspace",         0x0a0},
00105 { "exclamdown",           0x0a1},
00106 { "cent",                 0x0a2},
00107 { "sterling",             0x0a3},
00108 { "currency",             0x0a4},
00109 { "yen",                  0x0a5},
00110 { "brokenbar",            0x0a6},
00111 { "section",              0x0a7},
00112 { "diaeresis",            0x0a8},
00113 { "copyright",            0x0a9},
00114 { "ordfeminine",          0x0aa},
00115 { "guillemotleft",        0x0ab},
00116 { "notsign",              0x0ac},
00117 { "hyphen",               0x0ad},
00118 { "registered",           0x0ae},
00119 { "macron",               0x0af},
00120 { "degree",               0x0b0},
00121 { "plusminus",            0x0b1},
00122 { "twosuperior",          0x0b2},
00123 { "threesuperior",        0x0b3},
00124 { "acute",                0x0b4},
00125 { "mu",                   0x0b5},
00126 { "paragraph",            0x0b6},
00127 { "periodcentered",       0x0b7},
00128 { "cedilla",              0x0b8},
00129 { "onesuperior",          0x0b9},
00130 { "masculine",            0x0ba},
00131 { "guillemotright",       0x0bb},
00132 { "onequarter",           0x0bc},
00133 { "onehalf",              0x0bd},
00134 { "threequarters",        0x0be},
00135 { "questiondown",         0x0bf},
00136 { "Agrave",               0x0c0},
00137 { "Aacute",               0x0c1},
00138 { "Acircumflex",          0x0c2},
00139 { "Atilde",               0x0c3},
00140 { "Adiaeresis",           0x0c4},
00141 { "Aring",                0x0c5},
00142 { "AE",                   0x0c6},
00143 { "Ccedilla",             0x0c7},
00144 { "Egrave",               0x0c8},
00145 { "Eacute",               0x0c9},
00146 { "Ecircumflex",          0x0ca},
00147 { "Ediaeresis",           0x0cb},
00148 { "Igrave",               0x0cc},
00149 { "Iacute",               0x0cd},
00150 { "Icircumflex",          0x0ce},
00151 { "Idiaeresis",           0x0cf},
00152 { "ETH",                  0x0d0},
00153 { "Eth",                  0x0d0},
00154 { "Ntilde",               0x0d1},
00155 { "Ograve",               0x0d2},
00156 { "Oacute",               0x0d3},
00157 { "Ocircumflex",          0x0d4},
00158 { "Otilde",               0x0d5},
00159 { "Odiaeresis",           0x0d6},
00160 { "multiply",             0x0d7},
00161 { "Ooblique",             0x0d8},
00162 { "Oslash",               0x0d8},
00163 { "Ugrave",               0x0d9},
00164 { "Uacute",               0x0da},
00165 { "Ucircumflex",          0x0db},
00166 { "Udiaeresis",           0x0dc},
00167 { "Yacute",               0x0dd},
00168 { "THORN",                0x0de},
00169 { "Thorn",                0x0de},
00170 { "ssharp",               0x0df},
00171 { "agrave",               0x0e0},
00172 { "aacute",               0x0e1},
00173 { "acircumflex",          0x0e2},
00174 { "atilde",               0x0e3},
00175 { "adiaeresis",           0x0e4},
00176 { "aring",                0x0e5},
00177 { "ae",                   0x0e6},
00178 { "ccedilla",             0x0e7},
00179 { "egrave",               0x0e8},
00180 { "eacute",               0x0e9},
00181 { "ecircumflex",          0x0ea},
00182 { "ediaeresis",           0x0eb},
00183 { "igrave",               0x0ec},
00184 { "iacute",               0x0ed},
00185 { "icircumflex",          0x0ee},
00186 { "idiaeresis",           0x0ef},
00187 { "eth",                  0x0f0},
00188 { "ntilde",               0x0f1},
00189 { "ograve",               0x0f2},
00190 { "oacute",               0x0f3},
00191 { "ocircumflex",          0x0f4},
00192 { "otilde",               0x0f5},
00193 { "odiaeresis",           0x0f6},
00194 { "division",             0x0f7},
00195 { "oslash",               0x0f8},
00196 { "ooblique",             0x0f8},
00197 { "ugrave",               0x0f9},
00198 { "uacute",               0x0fa},
00199 { "ucircumflex",          0x0fb},
00200 { "udiaeresis",           0x0fc},
00201 { "yacute",               0x0fd},
00202 { "thorn",                0x0fe},
00203 { "ydiaeresis",           0x0ff},
00204 {"EuroSign", 0x20ac},  /* XK_EuroSign */
00205 
00206     /* modifiers */
00207 {"Control_L", 0xffe3}, /* XK_Control_L */
00208 {"Control_R", 0xffe4}, /* XK_Control_R */
00209 {"Alt_L", 0xffe9},     /* XK_Alt_L */
00210 {"Alt_R", 0xffea},     /* XK_Alt_R */
00211 {"Caps_Lock", 0xffe5}, /* XK_Caps_Lock */
00212 {"Meta_L", 0xffe7},    /* XK_Meta_L */
00213 {"Meta_R", 0xffe8},    /* XK_Meta_R */
00214 {"Shift_L", 0xffe1},   /* XK_Shift_L */
00215 {"Shift_R", 0xffe2},   /* XK_Shift_R */
00216 {"Super_L", 0xffeb},   /* XK_Super_L */
00217 {"Super_R", 0xffec},   /* XK_Super_R */
00218 
00219     /* special keys */
00220 {"BackSpace", 0xff08}, /* XK_BackSpace */
00221 {"Tab", 0xff09},       /* XK_Tab */
00222 {"Return", 0xff0d},    /* XK_Return */
00223 {"Right", 0xff53},     /* XK_Right */
00224 {"Left", 0xff51},      /* XK_Left */
00225 {"Up", 0xff52},        /* XK_Up */
00226 {"Down", 0xff54},      /* XK_Down */
00227 {"Page_Down", 0xff56}, /* XK_Page_Down */
00228 {"Page_Up", 0xff55},   /* XK_Page_Up */
00229 {"Insert", 0xff63},    /* XK_Insert */
00230 {"Delete", 0xffff},    /* XK_Delete */
00231 {"Home", 0xff50},      /* XK_Home */
00232 {"End", 0xff57},       /* XK_End */
00233 {"Scroll_Lock", 0xff14}, /* XK_Scroll_Lock */
00234 {"F1", 0xffbe},        /* XK_F1 */
00235 {"F2", 0xffbf},        /* XK_F2 */
00236 {"F3", 0xffc0},        /* XK_F3 */
00237 {"F4", 0xffc1},        /* XK_F4 */
00238 {"F5", 0xffc2},        /* XK_F5 */
00239 {"F6", 0xffc3},        /* XK_F6 */
00240 {"F7", 0xffc4},        /* XK_F7 */
00241 {"F8", 0xffc5},        /* XK_F8 */
00242 {"F9", 0xffc6},        /* XK_F9 */
00243 {"F10", 0xffc7},       /* XK_F10 */
00244 {"F11", 0xffc8},       /* XK_F11 */
00245 {"F12", 0xffc9},       /* XK_F12 */
00246 {"F13", 0xffca},       /* XK_F13 */
00247 {"F14", 0xffcb},       /* XK_F14 */
00248 {"F15", 0xffcc},       /* XK_F15 */
00249 {"Sys_Req", 0xff15},   /* XK_Sys_Req */
00250 {"KP_0", 0xffb0},      /* XK_KP_0 */
00251 {"KP_1", 0xffb1},      /* XK_KP_1 */
00252 {"KP_2", 0xffb2},      /* XK_KP_2 */
00253 {"KP_3", 0xffb3},      /* XK_KP_3 */
00254 {"KP_4", 0xffb4},      /* XK_KP_4 */
00255 {"KP_5", 0xffb5},      /* XK_KP_5 */
00256 {"KP_6", 0xffb6},      /* XK_KP_6 */
00257 {"KP_7", 0xffb7},      /* XK_KP_7 */
00258 {"KP_8", 0xffb8},      /* XK_KP_8 */
00259 {"KP_9", 0xffb9},      /* XK_KP_9 */
00260 {"KP_Add", 0xffab},    /* XK_KP_Add */
00261 {"KP_Decimal", 0xffae},  /* XK_KP_Decimal */
00262 {"KP_Divide", 0xffaf},   /* XK_KP_Divide */
00263 {"KP_Enter", 0xff8d},    /* XK_KP_Enter */
00264 {"KP_Equal", 0xffbd},    /* XK_KP_Equal */
00265 {"KP_Multiply", 0xffaa}, /* XK_KP_Multiply */
00266 {"KP_Subtract", 0xffad}, /* XK_KP_Subtract */
00267 {"help", 0xff6a},        /* XK_Help */
00268 {"Menu", 0xff67},        /* XK_Menu */
00269 {"Print", 0xff61},       /* XK_Print */
00270 {"Mode_switch", 0xff7e}, /* XK_Mode_switch */
00271 {"Num_Lock", 0xff7f},    /* XK_Num_Lock */
00272 {"Pause", 0xff13},       /* XK_Pause */
00273 {"Escape", 0xff1b},      /* XK_Escape */
00274 {0,0},
00275 };