There are 3 KeySyms per KeyCode; KeyCodes range from 8 to 157.

    KeyCode	Keysym (Keysym)	...
    Value  	Value   (Name) 	...

      8    	0xff1b (Escape)	0xff1b (Escape)	0xff1b (Escape)	
      9    	0x0031 (1)	0x0021 (exclam)	0x0031 (1)	
     10    	0x0032 (2)	0x0040 (at)	0x0032 (2)	
     11    	0x0033 (3)	0x0023 (numbersign)	0x0033 (3)	
     12    	0x0034 (4)	0x0024 (dollar)	0x0034 (4)	
     13    	0x0035 (5)	0x0025 (percent)	0x0035 (5)	
     14    	0x0036 (6)	0x005e (asciicircum)	0x0036 (6)	
     15    	0x0037 (7)	0x0026 (ampersand)	0x0037 (7)	
     16    	0x0038 (8)	0x002a (asterisk)	0x0038 (8)	
     17    	0x0039 (9)	0x0028 (parenleft)	0x0039 (9)	
     18    	0x0030 (0)	0x0029 (parenright)	0x0030 (0)	
     19    	0x002d (minus)	0x005f (underscore)	0x002d (minus)	
     20    	0x003d (equal)	0x002b (plus)	0x003d (equal)	
     21    	0xff08 (BackSpace)	0xff08 (BackSpace)	0xff08 (BackSpace)	
     22    	0xff09 (Tab)	0x09df (blank)	0xff09 (Tab)	
     23    	0x0071 (q)	0x0051 (Q)	0x0071 (q)	
     24    	0x0077 (w)	0x0057 (W)	0x0077 (w)	
     25    	0x0065 (e)	0x0045 (E)	0x0065 (e)	
     26    	0x0072 (r)	0x0052 (R)	0x0072 (r)	
     27    	0x0074 (t)	0x0054 (T)	0x0074 (t)	
     28    	0x0079 (y)	0x0059 (Y)	0x0079 (y)	
     29    	0x0075 (u)	0x0055 (U)	0x0075 (u)	
     30    	0x0069 (i)	0x0049 (I)	0x0069 (i)	
     31    	0x006f (o)	0x004f (O)	0x006f (o)	
     32    	0x0070 (p)	0x0050 (P)	0x0070 (p)	
     33    	0x005b (bracketleft)	0x007b (braceleft)	0x005b (bracketleft)	
     34    	0x005d (bracketright)	0x007d (braceright)	0x005d (bracketright)	
     35    	0xff0d (Return)	0xff0d (Return)	0xff0d (Return)	
     36    	0xffe3 (Control_L)	0xffe3 (Control_L)	0xffe3 (Control_L)	
     37    	0x0061 (a)	0x0041 (A)	0x0061 (a)	
     38    	0x0073 (s)	0x0053 (S)	0x0073 (s)	
     39    	0x0064 (d)	0x0044 (D)	0x0064 (d)	
     40    	0x0066 (f)	0x0046 (F)	0x0066 (f)	
     41    	0x0067 (g)	0x0047 (G)	0x0067 (g)	
     42    	0x0068 (h)	0x0048 (H)	0x0068 (h)	
     43    	0x006a (j)	0x004a (J)	0x006a (j)	
     44    	0x006b (k)	0x004b (K)	0x006b (k)	
     45    	0x006c (l)	0x004c (L)	0x006c (l)	
     46    	0x003b (semicolon)	0x003a (colon)	0x003b (semicolon)	
     47    	0x0027 (apostrophe)	0x0022 (quotedbl)	0x0027 (apostrophe)	
     48    	0x0060 (grave)	0x007e (asciitilde)	0x0060 (grave)	
     49    	0xffe1 (Shift_L)	0xffe1 (Shift_L)	0xffe1 (Shift_L)	
     50    	0x005c (backslash)	0x007c (bar)	0x005c (backslash)	
     51    	0x007a (z)	0x005a (Z)	0x007a (z)	
     52    	0x0078 (x)	0x0058 (X)	0x0078 (x)	
     53    	0x0063 (c)	0x0043 (C)	0x0063 (c)	
     54    	0x0076 (v)	0x0056 (V)	0x0076 (v)	
     55    	0x0062 (b)	0x0042 (B)	0x0062 (b)	
     56    	0x006e (n)	0x004e (N)	0x006e (n)	
     57    	0x006d (m)	0x004d (M)	0x006d (m)	
     58    	0x002c (comma)	0x003c (less)	0x002c (comma)	
     59    	0x002e (period)	0x003e (greater)	0x002e (period)	
     60    	0x002f (slash)	0x003f (question)	0x002f (slash)	
     61    	0xffe2 (Shift_R)	0xffe2 (Shift_R)	0xffe2 (Shift_R)	
     62    	0xffaa (KP_Multiply)	0xffaa (KP_Multiply)	0xffaa (KP_Multiply)	
     63    	0xffe9 (Alt_L)	0xffe9 (Alt_L)	0xffe9 (Alt_L)	
     64    	0x0020 (space)	0x0020 (space)	0x0020 (space)	
     65    	0xffe5 (Caps_Lock)	0xffe5 (Caps_Lock)	0xffe5 (Caps_Lock)	
     66    	0xffbe (F1)	0xffca (F13)	
     67    	0xffbf (F2)	0xffcb (F14)	
     68    	0xffc0 (F3)	0xffcc (F15)	
     69    	0xffc1 (F4)	0xffcd (F16)	
     70    	0xffc2 (F5)	0xffce (F17)	
     71    	0xffc3 (F6)	0xffcf (F18)	
     72    	0xffc4 (F7)	0xffd0 (F19)	
     73    	0xffc5 (F8)	0xffd1 (F20)	
     74    	0xffc6 (F9)	0xffd2 (F21)	
     75    	0xffc7 (F10)	0xffd3 (F22)	
     76    	0xff7f (Num_Lock)	0xff7f (Num_Lock)	0xff7f (Num_Lock)	
     77    	0xff14 (Scroll_Lock)	0xff14 (Scroll_Lock)	0xff14 (Scroll_Lock)	
     78    	0xff95 (KP_Home)	0xffb7 (KP_7)	0xffb7 (KP_7)	
     79    	0xff97 (KP_Up)	0xffb8 (KP_8)	0xffb8 (KP_8)	
     80    	0xff9a (KP_Prior)	0xffb9 (KP_9)	0xffb9 (KP_9)	
     81    	0xffad (KP_Subtract)	0xffad (KP_Subtract)	0x09df (blank)	
     82    	0xff96 (KP_Left)	0xffb4 (KP_4)	0xffb4 (KP_4)	
     83    	0xff9d (KP_Begin)	0xffb5 (KP_5)	0x09df (blank)	
     84    	0xff98 (KP_Right)	0xffb6 (KP_6)	0xffb6 (KP_6)	
     85    	0xffab (KP_Add)	0xffab (KP_Add)	0x09df (blank)	
     86    	0xff9c (KP_End)	0xffb1 (KP_1)	0xffb1 (KP_1)	
     87    	0xff99 (KP_Down)	0xffb2 (KP_2)	0xffb2 (KP_2)	
     88    	0xff9b (KP_Next)	0xffb3 (KP_3)	0xffb3 (KP_3)	
     89    	0xff9e (KP_Insert)	0xffb0 (KP_0)	0xffb0 (KP_0)	
     90    	0xff9f (KP_Delete)	0xffae (KP_Decimal)	0xffff (Delete)	
     91    	0xff15 (Sys_Req)	0xff60 (Select)	0xff60 (Select)	
     92    	
     93    	
     94    	0xffc8 (F11)	0xffd4 (F23)	
     95    	0xffc9 (F12)	0xffd5 (F24)	
     96    	
     97    	
     98    	
     99    	
    100    	
    101    	
    102    	
    103    	0xff52 (Up)	
    104    	0xff51 (Left)	
    105    	0xff54 (Down)	
    106    	0xff53 (Right)	
    107    	0xff50 (Home)	
    108    	0xff55 (Prior)	
    109    	0xff57 (End)	
    110    	0xff56 (Next)	
    111    	0xff63 (Insert)	
    112    	0xffff (Delete)	
    113    	0xff58 (Begin)	0xff58 (Begin)	
    114    	
    115    	
    116    	
    117    	
    118    	
    119    	
    120    	
    121    	
    122    	
    123    	
    124    	
    125    	
    126    	
    127    	
    128    	
    129    	
    130    	
    131    	
    132    	
    133    	
    134    	
    135    	0xffe4 (Control_R)	0xffe4 (Control_R)	0xffe4 (Control_R)	
    136    	0xffea (Alt_R)	0xffea (Alt_R)	0xffea (Alt_R)	
    137    	0xff63 (Insert)	
    138    	0xffff (Delete)	
    139    	0xff50 (Home)	
    140    	0xff57 (End)	
    141    	0xff55 (Prior)	
    142    	0xff56 (Next)	
    143    	0xff53 (Right)	
    144    	0xff51 (Left)	
    145    	0xff52 (Up)	
    146    	0xff54 (Down)	
    147    	0xffaf (KP_Divide)	0x09df (blank)	0xffaf (KP_Divide)	
    148    	0xff8d (KP_Enter)	0xff8d (KP_Enter)	0xff8d (KP_Enter)	
    149    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    150    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    151    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    152    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    153    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    154    	0x09df (blank)	0x09df (blank)	0x09df (blank)	
    155    	0xff15 (Sys_Req)	
    156    	0xff61 (Print)	
    157    	0xff13 (Pause)	
