Back to index

im-sdk  12.3.91
keyboard_map.h
Go to the documentation of this file.
00001 #ifndef KEYBOARD_MAP_H
00002 #define KEYBOARD_MAP_H
00003 
00004 static const UTFCHAR keyboard_map_2[] = {
00005     0x0021,     /* XK_exclam:       exclamation mark               */
00006     0x0022,     /* XK_quotedbl:     quotation mark                 */
00007     0x0023,     /* XK_numbersign:   number sign                    */
00008     0x0024,     /* XK_dollar:       dollar sign                    */
00009     0x0025,     /* XK_percent:      percent sign                   */
00010     0x0026,     /* XK_ampersand:    ampersand                      */
00011     0x0027,     /* XK_apostrophe:   apostrophe                     */
00012     0x0028,     /* XK_parenleft:    left parenthesis               */
00013     0x0029,     /* XK_parenright:   right parenthesis              */
00014     0x002a,     /* XK_asterisk:     asterisk                       */
00015     0x002b,     /* XK_plus:         plus sign                      */
00016     0x002c,     /* XK_comma:        comma                          */
00017     0x002d,     /* XK_minus:        minus sign                     */
00018     0x002e,     /* XK_period:       period                         */
00019     0x002f,     /* XK_slash:        slash                          */
00020     0x0030,     /* XK_0:            0                              */
00021     0x0031,     /* XK_1:            1                              */
00022     0x0032,     /* XK_2:            2                              */
00023     0x0033,     /* XK_3:            3                              */
00024     0x0034,     /* XK_4:            4                              */
00025     0x0035,     /* XK_5:            5                              */
00026     0x0036,     /* XK_6:            6                              */
00027     0x0037,     /* XK_7:            7                              */
00028     0x0038,     /* XK_8:            8                              */
00029     0x0039,     /* XK_9:            9                              */
00030     0x003a,     /* XK_colon:        colon                          */
00031     0x003b,     /* XK_semicolon:    semicolon                      */
00032     0x003c,     /* XK_less:         less-than sign                 */
00033     0x003d,     /* XK_equal:        equals sign                    */
00034     0x003e,     /* XK_greater:      greater-than sign              */
00035     0x003f,     /* XK_question:     question mark                  */
00036     0x0040,     /* XK_at:           commercial at                  */
00037     0x1106,     /* XK_A:            choseong mieum                 */
00038     0x1172,     /* XK_B:            jungseong yu                   */
00039     0x110e,     /* XK_C:            choseong chieuch               */
00040     0x110b,     /* XK_D:            choseong ieung                 */
00041     0x1104,     /* XK_E:            choseong ssangtikeut           */
00042     0x1105,     /* XK_F:            choseong rieul                 */
00043     0x1112,     /* XK_G:            choseong hieuh                 */
00044     0x1169,     /* XK_H:            jungseong o                    */
00045     0x1163,     /* XK_I:            jungseong ya                   */
00046     0x1165,     /* XK_J:            jungseong eo                   */
00047     0x1161,     /* XK_K:            jungseong a                    */
00048     0x1175,     /* XK_L:            jungseong i                    */
00049     0x1173,     /* XK_M:            jungseong eu                   */
00050     0x116e,     /* XK_N:            jungseong u                    */
00051     0x1164,     /* XK_O:            jungseong yae                  */
00052     0x1168,     /* XK_P:            jungseong ye                   */
00053     0x1108,     /* XK_Q:            choseong ssangpieup            */
00054     0x1101,     /* XK_R:            choseong ssangkiyeok           */
00055     0x1102,     /* XK_S:            choseong nieun                 */
00056     0x110a,     /* XK_T:            choseong ssangsios             */
00057     0x1167,     /* XK_U:            jungseong yeo                  */
00058     0x1111,     /* XK_V:            choseong phieuph               */
00059     0x110d,     /* XK_W:            choseong ssangcieuc            */
00060     0x1110,     /* XK_X:            choseong thieuth               */
00061     0x116d,     /* XK_Y:            jungseong yo                   */
00062     0x110f,     /* XK_Z:            choseong khieukh               */
00063     0x005b,     /* XK_bracketleft:  left bracket                   */
00064     0x005c,     /* XK_backslash:    backslash                      */
00065     0x005d,     /* XK_bracketright: right bracket                  */
00066     0x005e,     /* XK_asciicircum:  circumflex accent              */
00067     0x005f,     /* XK_underscore:   underscore                     */
00068     0x0060,     /* XK_quoteleft:    grave accent                   */
00069     0x1106,     /* XK_a:            choseong  mieum                */
00070     0x1172,     /* XK_b:            jungseong yu                   */
00071     0x110e,     /* XK_c:            choseong  chieuch              */
00072     0x110b,     /* XK_d:            choseong  ieung                */
00073     0x1103,     /* XK_e:            choseong  tikeut               */
00074     0x1105,     /* XK_f:            choseong  rieul                */
00075     0x1112,     /* XK_g:            choseong  hieuh                */
00076     0x1169,     /* XK_h:            jungseong o                    */
00077     0x1163,     /* XK_i:            jungseong ya                   */
00078     0x1165,     /* XK_j:            jungseong eo                   */
00079     0x1161,     /* XK_k:            jungseong a                    */
00080     0x1175,     /* XK_l:            jungseong i                    */
00081     0x1173,     /* XK_m:            jungseong eu                   */
00082     0x116e,     /* XK_n:            jungseong u                    */
00083     0x1162,     /* XK_o:            jungseong ae                   */
00084     0x1166,     /* XK_p:            jungseong e                    */
00085     0x1107,     /* XK_q:            choseong  pieup                */
00086     0x1100,     /* XK_r:            choseong  kiyeok               */
00087     0x1102,     /* XK_s:            choseong  nieun                */
00088     0x1109,     /* XK_t:            choseong  sios                 */
00089     0x1167,     /* XK_u:            jungseong yeo                  */
00090     0x1111,     /* XK_v:            choseong  phieuph              */
00091     0x110c,     /* XK_w:            choseong  cieuc                */
00092     0x1110,     /* XK_x:            choseong  thieuth              */
00093     0x116d,     /* XK_y:            jungseong yo                   */
00094     0x110f,     /* XK_z:            choseong  khieukh              */
00095     0x007b,     /* XK_braceleft:    left brace                     */
00096     0x007c,     /* XK_bar:          vertical bar                   */
00097     0x007d,     /* XK_braceright:   right brace                    */
00098     0x007e      /* XK_asciitilde:   tilde                          */
00099 };
00100 
00101 static const UTFCHAR keyboard_map_32[] = {
00102     0x0021,     /* XK_exclam:       exclamation mark                */
00103     0x0022,     /* XK_quotedbl:     quotation mark                  */
00104     0x0023,     /* XK_numbersign:   number sign                     */
00105     0x0024,     /* XK_dollar:       dollar sign                     */
00106     0x0025,     /* XK_percent:      percent sign                    */
00107     0x0026,     /* XK_ampersand:    ampersand                       */
00108     0x0027,     /* XK_apostrophe:   apostrophe                      */
00109     0x0028,     /* XK_parenleft:    left parenthesis                */
00110     0x0029,     /* XK_parenright:   right parenthesis               */
00111     0x002a,     /* XK_asterisk:     asterisk                        */
00112     0x002b,     /* XK_plus:         plus sign                       */
00113     0x002c,     /* XK_comma:        comma                           */
00114     0x002d,     /* XK_minus:        minus sign                      */
00115     0x002e,     /* XK_period:       period                          */
00116     0x002f,     /* XK_slash:        slash                           */
00117     0x0030,     /* XK_0:            0                               */
00118     0x0031,     /* XK_1:            1                               */
00119     0x0032,     /* XK_2:            2                               */
00120     0x0033,     /* XK_3:            3                               */
00121     0x0034,     /* XK_4:            4                               */
00122     0x0035,     /* XK_5:            5                               */
00123     0x0036,     /* XK_6:            6                               */
00124     0x0037,     /* XK_7:            7                               */
00125     0x0038,     /* XK_8:            8                               */
00126     0x0039,     /* XK_9:            9                               */
00127     0x003a,     /* XK_colon:        colon                           */
00128     0x003b,     /* XK_semicolon:    semicolon                       */
00129     0x003c,     /* XK_less:         less-than sign                  */
00130     0x003d,     /* XK_equal:        equals sign                     */
00131     0x003e,     /* XK_greater:      greater-than sign               */
00132     0x003f,     /* XK_question:     question mark                   */
00133     0x0040,     /* XK_at:           commercial at                   */
00134     0x11b7,     /* XK_A:            jongseong mieum                 */
00135     0x1172,     /* XK_B:            jungseong yu                    */
00136     0x11be,     /* XK_C:            jongseong chieuch               */
00137     0x11bc,     /* XK_D:            jongseong ieung                 */
00138     0x11ae,     /* XK_E:            jongseong tikeut                */
00139     0x11af,     /* XK_F:            jongseong rieul                 */
00140     0x11c2,     /* XK_G:            jongseong hieuh                 */
00141     0x1169,     /* XK_H:            jungseong o                     */
00142     0x1163,     /* XK_I:            jungseong ya                    */
00143     0x1165,     /* XK_J:            jungseong eo                    */
00144     0x1161,     /* XK_K:            jungseong a                     */
00145     0x1175,     /* XK_L:            jungseong i                     */
00146     0x1173,     /* XK_M:            jungseong eu                    */
00147     0x116e,     /* XK_N:            jungseong u                     */
00148     0x1164,     /* XK_O:            jungseong yae                   */
00149     0x1168,     /* XK_P:            jungseong ye                    */
00150     0x11b8,     /* XK_Q:            jongseong pieup                 */
00151     0x11a8,     /* XK_R:            jongseong kiyeok                */
00152     0x11ab,     /* XK_S:            jongseong nieun                 */
00153     0x11ba,     /* XK_T:            jongseong sios                  */
00154     0x1167,     /* XK_U:            jungseong yeo                   */
00155     0x11c1,     /* XK_V:            jongseong phieuph               */
00156     0x11bd,     /* XK_W:            jongseong cieuc                 */
00157     0x11c0,     /* XK_X:            jongseong thieuth               */
00158     0x116d,     /* XK_Y:            jungseong yo                    */
00159     0x11bf,     /* XK_Z:            jongseong khieukh               */
00160     0x005b,     /* XK_bracketleft:  left bracket                    */
00161     0x005c,     /* XK_backslash:    backslash                       */
00162     0x005d,     /* XK_bracketright: right bracket                   */
00163     0x005e,     /* XK_asciicircum:  circumflex accent               */
00164     0x005f,     /* XK_underscore:   underscore                      */
00165     0x0060,     /* XK_quoteleft:    grave accent                    */
00166     0x1106,     /* XK_a:            choseong  mieum                 */
00167     0x1172,     /* XK_b:            jungseong yu                    */
00168     0x110e,     /* XK_c:            choseong  chieuch               */
00169     0x110b,     /* XK_d:            choseong  ieung                 */
00170     0x1103,     /* XK_e:            choseong  tikeut                */
00171     0x1105,     /* XK_f:            choseong  rieul                 */
00172     0x1112,     /* XK_g:            choseong  hieuh                 */
00173     0x1169,     /* XK_h:            jungseong o                     */
00174     0x1163,     /* XK_i:            jungseong ya                    */
00175     0x1165,     /* XK_j:            jungseong eo                    */
00176     0x1161,     /* XK_k:            jungseong a                     */
00177     0x1175,     /* XK_l:            jungseong i                     */
00178     0x1173,     /* XK_m:            jungseong eu                    */
00179     0x116e,     /* XK_n:            jungseong u                     */
00180     0x1162,     /* XK_o:            jungseong ae                    */
00181     0x1166,     /* XK_p:            jungseong e                     */
00182     0x1107,     /* XK_q:            choseong  pieup                 */
00183     0x1100,     /* XK_r:            choseong  kiyeok                */
00184     0x1102,     /* XK_s:            choseong  nieun                 */
00185     0x1109,     /* XK_t:            choseong  sios                  */
00186     0x1167,     /* XK_u:            jungseong yeo                   */
00187     0x1111,     /* XK_v:            choseong  phieuph               */
00188     0x110c,     /* XK_w:            choseong  cieuc                 */
00189     0x1110,     /* XK_x:            choseong  thieuth               */
00190     0x116d,     /* XK_y:            jungseong yo                    */
00191     0x110f,     /* XK_z:            choseong  khieukh               */
00192     0x007b,     /* XK_braceleft:    left brace                      */
00193     0x007c,     /* XK_bar:          vertical bar                    */
00194     0x007d,     /* XK_braceright:   right brace                     */
00195     0x007e,     /* XK_asciitilde:   tilde                           */
00196 };
00197 
00198 /* Hangul keyboard map table:
00199  * 3set keyboard 390 (sebulsik 390) */
00200 static const UTFCHAR keyboard_map_390[] = {
00201     0x11bd,     /* XK_exclam:       jongseong cieuc                 */
00202     0x0022,     /* XK_quotedbl:     quotatioin mark                 */
00203     0x0023,     /* XK_numbersign:   number sign                     */
00204     0x0024,     /* XK_dollar:       dollar sign                     */
00205     0x0025,     /* XK_percent:      percent sign                    */
00206     0x0026,     /* XK_ampersand:    ampersand                       */
00207     0x1110,     /* XK_apostrophe:   choseong thieuth                */
00208     0x0028,     /* XK_parenleft:    left parenthesis                */
00209     0x0029,     /* XK_parenright:   right parenthesis               */
00210     0x002a,     /* XK_asterisk:     asterisk                        */
00211     0x002b,     /* XK_plus:         plus sign                       */
00212     0x002c,     /* XK_comma:        comma                           */
00213     0x002d,     /* XK_minus:        minus sign                      */
00214     0x002e,     /* XK_period:       period                          */
00215     0x1169,     /* XK_slash:        jungseong o                     */
00216     0x110f,     /* XK_0:            choseong  khieukh               */
00217     0x11c2,     /* XK_1:            jongseong hieuh                 */
00218     0x11bb,     /* XK_2:            jongseong ssangsios             */
00219     0x11b8,     /* XK_3:            jongseong pieup                 */
00220     0x116d,     /* XK_4:            jungseong yo                    */
00221     0x1172,     /* XK_5:            jungseong yu                    */
00222     0x1163,     /* XK_6:            jungseong ya                    */
00223     0x1168,     /* XK_7:            jungseong ye                    */
00224     0x1174,     /* XK_8:            jungseong yi                    */
00225     0x116e,     /* XK_9:            jungseong u                     */
00226     0x003a,     /* XK_colon:        colon                           */
00227     0x1107,     /* XK_semicolon:    choseong  pieup                 */
00228     0x0032,     /* XK_less:         2                               */
00229     0x003d,     /* XK_equal:        euals sign                      */
00230     0x0033,     /* XK_greater:      3                               */
00231     0x003f,     /* XK_question:     question mark                   */
00232     0x0040,     /* XK_at:           commertial at                   */
00233     0x11ae,     /* XK_A:            jongseong tikeut                */
00234     0x0021,     /* XK_B:            exclamation mark                */
00235     0x11b1,     /* XK_C:            jongseong rieul-mieum           */
00236     0x11b0,     /* XK_D:            jongseong rieul-kiyeok          */
00237     0x11bf,     /* XK_E:            jongseong khieukh               */
00238     0x11a9,     /* XK_F:            jongseong ssangkiyeok           */
00239     0x002f,     /* XK_G:            slash                           */
00240     0x0027,     /* XK_H:            apostrophe                      */
00241     0x0038,     /* XK_I:            8                               */
00242     0x0034,     /* XK_J:            4                               */
00243     0x0035,     /* XK_K:            5                               */
00244     0x0036,     /* XK_L:            6                               */
00245     0x0031,     /* XK_M:            1                               */
00246     0x0030,     /* XK_N:            0                               */
00247     0x0039,     /* XK_O:            9                               */
00248     0x003e,     /* XK_P:            greater-than sign               */
00249     0x11c1,     /* XK_Q:            jongseong phieuph               */
00250     0x1164,     /* XK_R:            jungseong yae                   */
00251     0x11ad,     /* XK_S:            jongseong nieun-hieuh           */
00252     0x003b,     /* XK_T:            semicolon                       */
00253     0x0037,     /* XK_U:            7                               */
00254     0x11b6,     /* XK_V:            jongseong rieul-hieuh           */
00255     0x11c0,     /* XK_W:            jongseong thikeuth              */
00256     0x11b9,     /* XK_X:            jongseong pieup-sios            */
00257     0x003c,     /* XK_Y:            less-than sign                  */
00258     0x11be,     /* XK_Z:            jongseong chieuch               */
00259     0x005b,     /* XK_bracketleft:  left bracket                    */
00260     0x005c,     /* XK_backslash:    backslash                       */
00261     0x005d,     /* XK_bracketright: right bracket                   */
00262     0x005e,     /* XK_asciicircum:  circumflex accent               */
00263     0x005f,     /* XK_underscore:   underscore                      */
00264     0x0060,     /* XK_quoteleft:    grave accent                    */
00265     0x11bc,     /* XK_a:            jongseong ieung                 */
00266     0x116e,     /* XK_b:            jungseong u                     */
00267     0x1166,     /* XK_c:            jungseong e                     */
00268     0x1175,     /* XK_d:            jungseong i                     */
00269     0x1167,     /* XK_e:            jungseong yeo                   */
00270     0x1161,     /* XK_f:            jungseong a                     */
00271     0x1173,     /* XK_g:            jungseong eu                    */
00272     0x1102,     /* XK_h:            choseong  nieun                 */
00273     0x1106,     /* XK_i:            choseong  mieum                 */
00274     0x110b,     /* XK_j:            choseong  ieung                 */
00275     0x1100,     /* XK_k:            choseong  kiyeok                */
00276     0x110c,     /* XK_l:            choseong  cieuc                 */
00277     0x1112,     /* XK_m:            choseong  hieuh                 */
00278     0x1109,     /* XK_n:            choseong  sios                  */
00279     0x110e,     /* XK_o:            choseong  chieuch               */
00280     0x1111,     /* XK_p:            choseong  phieuph               */
00281     0x11ba,     /* XK_q:            jongseong sios                  */
00282     0x1162,     /* XK_r:            jungseong ae                    */
00283     0x11ab,     /* XK_s:            jongseong nieun                 */
00284     0x1165,     /* XK_t:            jungseong eo                    */
00285     0x1103,     /* XK_u:            choseong  tikeut                */
00286     0x1169,     /* XK_v:            jungseong o                     */
00287     0x11af,     /* XK_w:            jongseong rieul                 */
00288     0x11a8,     /* XK_x:            jongseong kiyeok                */
00289     0x1105,     /* XK_y:            choseong  rieul                 */
00290     0x11b7,     /* XK_z:            jongseong mieum                 */
00291     0x007b,     /* XK_braceleft:    left brace                      */
00292     0x007c,     /* XK_bar:          vertical line(bar)              */
00293     0x007d,     /* XK_braceright:   right brace                     */
00294     0x007e,     /* XK_asciitilde:   tilde                           */
00295 };
00296 
00297 /* Hangul keyboard map table:
00298  * 3set keyboard final (sebulsik choejong) */
00299 static const UTFCHAR keyboard_map_3final[] = {
00300     0x11a9,     /* XK_exclam:       jongseong ssangkiyeok           */
00301     0x00b7,     /* XK_quotedbl:     middle dot                      */
00302     0x11bd,     /* XK_numbersign:   jognseong cieuc                 */
00303     0x11b5,     /* XK_dollar:       jongseong rieul-phieuph         */
00304     0x11b4,     /* XK_percent:      jongseong rieul-thieuth         */
00305     0x201c,     /* XK_ampersand:    left double quotation mark      */
00306     0x1110,     /* XK_apostrophe:   choseong  thieuth               */
00307     0x0027,     /* XK_parenleft:    apostrophe                      */
00308     0x007e,     /* XK_parenright:   Tilde                           */
00309     0x201d,     /* XK_asterisk:     right double quotation mark     */
00310     0x002b,     /* XK_plus:         plus sign                       */
00311     0x002c,     /* XK_comma:        comma                           */
00312     0x0029,     /* XK_minus:        right parenthesis               */
00313     0x002e,     /* XK_period:       period                          */
00314     0x1169,     /* XK_slash:        jungseong o                     */
00315     0x110f,     /* XK_0:            choseong  khieukh               */
00316     0x11c2,     /* XK_1:            jongseong hieuh                 */
00317     0x11bb,     /* XK_2:            jongseong ssangsios             */
00318     0x11b8,     /* XK_3:            jongseong pieup                 */
00319     0x116d,     /* XK_4:            jungseong yo                    */
00320     0x1172,     /* XK_5:            jungseong yu                    */
00321     0x1163,     /* XK_6:            jungseong ya                    */
00322     0x1168,     /* XK_7:            jungseong ye                    */
00323     0x1174,     /* XK_8:            jungseong yi                    */
00324     0x116e,     /* XK_9:            jungseong u                     */
00325     0x0034,     /* XK_colon:        4                               */
00326     0x1107,     /* XK_semicolon:    choseong  pieup                 */
00327     0x002c,     /* XK_less:         comma                           */
00328     0x003e,     /* XK_equal:        greater-than sign               */
00329     0x002e,     /* XK_greater:      period                          */
00330     0x0021,     /* XK_question:     exclamation mark                */
00331     0x11b0,     /* XK_at:           jongseong rieul-kiyeok          */
00332     0x11ae,     /* XK_A:            jongseong tikeut                */
00333     0x003f,     /* XK_B:            question mark                   */
00334     0x11bf,     /* XK_C:            jongseong khieukh               */
00335     0x11b2,     /* XK_D:            jongseong rieul-pieup           */
00336     0x11ac,     /* XK_E:            jongseong nieun-cieuc           */
00337     0x11b1,     /* XK_F:            jongseong rieul-mieum           */
00338     0x1164,     /* XK_G:            jungseong yae                   */
00339     0x0030,     /* XK_H:            0                               */
00340     0x0037,     /* XK_I:            7                               */
00341     0x0031,     /* XK_J:            1                               */
00342     0x0032,     /* XK_K:            2                               */
00343     0x0033,     /* XK_L:            3                               */
00344     0x0022,     /* XK_M:            double quotation mark           */
00345     0x002d,     /* XK_N:            minus sign                      */
00346     0x0038,     /* XK_O:            8                               */
00347     0x0039,     /* XK_P:            9                               */
00348     0x11c1,     /* XK_Q:            jongseong phieuph               */
00349     0x11b6,     /* XK_R:            jongseong rieul-hieuh           */
00350     0x11ad,     /* XK_S:            jongseong nieun-hieuh           */
00351     0x11b3,     /* XK_T:            jongseong rieul-sios            */
00352     0x0036,     /* XK_U:            6                               */
00353     0x11aa,     /* XK_V:            jongseong kiyeok-sios           */
00354     0x11c0,     /* XK_W:            jongseong thikeuth              */
00355     0x11b9,     /* XK_X:            jongseong pieup-sios            */
00356     0x0035,     /* XK_Y:            5                               */
00357     0x11be,     /* XK_Z:            jongseong chieuch               */
00358     0x0028,     /* XK_bracketleft:  left parenthesis                */
00359     0x003a,     /* XK_backslash:    colon                           */
00360     0x003c,     /* XK_bracketright: less-than sign                  */
00361     0x003d,     /* XK_asciicircum:  equals sign                     */
00362     0x003b,     /* XK_underscore:   semicolon                       */
00363     0x002a,     /* XK_quoteleft:    asterisk                        */
00364     0x11bc,     /* XK_a:            jongseong ieung                 */
00365     0x116e,     /* XK_b:            jungseong u                     */
00366     0x1166,     /* XK_c:            jungseong e                     */
00367     0x1175,     /* XK_d:            jungseong i                     */
00368     0x1167,     /* XK_e:            jungseong yeo                   */
00369     0x1161,     /* XK_f:            jungseong a                     */
00370     0x1173,     /* XK_g:            jungseong eu                    */
00371     0x1102,     /* XK_h:            choseong  nieun                 */
00372     0x1106,     /* XK_i:            choseong  mieum                 */
00373     0x110b,     /* XK_j:            choseong  ieung                 */
00374     0x1100,     /* XK_k:            choseong  kiyeok                */
00375     0x110c,     /* XK_l:            choseong  cieuc                 */
00376     0x1112,     /* XK_m:            choseong  hieuh                 */
00377     0x1109,     /* XK_n:            choseong  sios                  */
00378     0x110e,     /* XK_o:            choseong  chieuch               */
00379     0x1111,     /* XK_p:            choseong  phieuph               */
00380     0x11ba,     /* XK_q:            jongseong sios                  */
00381     0x1162,     /* XK_r:            jungseong ae                    */
00382     0x11ab,     /* XK_s:            jongseong nieun                 */
00383     0x1165,     /* XK_t:            jungseong eo                    */
00384     0x1103,     /* XK_u:            choseong  tikeut                */
00385     0x1169,     /* XK_v:            jungseong o                     */
00386     0x11af,     /* XK_w:            jongseong rieul                 */
00387     0x11a8,     /* XK_x:            jongseong kiyeok                */
00388     0x1105,     /* XK_y:            choseong  rieul                 */
00389     0x11b7,     /* XK_z:            jongseong mieum                 */
00390     0x0025,     /* XK_braceleft:    percent sign                    */
00391     0x005c,     /* XK_bar:          backslash                       */
00392     0x002f,     /* XK_braceright:   slash                           */
00393     0x203b,     /* XK_asciitilde:   reference mark                  */
00394 };
00395 
00396 /* Hangul keyboard map table:
00397  * 3set keyboard no-shift (sebulsik sunarae) */
00398 static const UTFCHAR keyboard_map_3sun[] = {
00399     0x0021,     /* XK_exclam:       exclamation mark                */
00400     0x0022,     /* XK_quotedbl:     quotatioin mark                 */
00401     0x0023,     /* XK_numbersign:   number sign                     */
00402     0x0024,     /* XK_dollar:       dollar sign                     */
00403     0x0025,     /* XK_percent:      percent sign                    */
00404     0x0026,     /* XK_ampersand:    ampersand                       */
00405     0x1110,     /* XK_apostrophe:   choseong thieuth                */
00406     0x0028,     /* XK_parenleft:    left parenthesis                */
00407     0x0029,     /* XK_parenright:   right parenthesis               */
00408     0x002a,     /* XK_asterisk:     asterisk                        */
00409     0x002b,     /* XK_plus:         plus sign                       */
00410     0x002c,     /* XK_comma:        comma                           */
00411     0x11bd,     /* XK_minus:        jongseong cieuc                 */
00412     0x002e,     /* XK_period:       period                          */
00413     0x11ae,     /* XK_slash:        jongseong tikeut                */
00414     0x1164,     /* XK_0:            choseong  yae                   */
00415     0x11c2,     /* XK_1:            jongseong hieuh                 */
00416     0x11bb,     /* XK_2:            jongseong ssangsios             */
00417     0x11b8,     /* XK_3:            jongseong pieup                 */
00418     0x116d,     /* XK_4:            jungseong yo                    */
00419     0x1172,     /* XK_5:            jungseong yu                    */
00420     0x1163,     /* XK_6:            jungseong ya                    */
00421     0x1168,     /* XK_7:            jungseong ye                    */
00422     0x1174,     /* XK_8:            jungseong yi                    */
00423     0x110f,     /* XK_9:            choseong khieukh                */
00424     0x003a,     /* XK_colon:        colon                           */
00425     0x1107,     /* XK_semicolon:    choseong  pieup                 */
00426     0x0032,     /* XK_less:         2                               */
00427     0x11be,     /* XK_equal:        jongseong chieuch               */
00428     0x0033,     /* XK_greater:      3                               */
00429     0x003f,     /* XK_question:     question mark                   */
00430     0x0040,     /* XK_at:           commertial at                   */
00431     0x11bc,     /* XK_A:            jongseong ieung                 */
00432     0x0021,     /* XK_B:            exclamation mark                */
00433     0x005c,     /* XK_C:            backslash                       */
00434     0x005d,     /* XK_D:            right bracket                   */
00435     0x1167,     /* XK_E:            jungseong yeo                   */
00436     0x1161,     /* XK_F:            jungseong a                     */
00437     0x002f,     /* XK_G:            slash                           */
00438     0x0027,     /* XK_H:            apostrophe                      */
00439     0x0038,     /* XK_I:            8                               */
00440     0x0034,     /* XK_J:            4                               */
00441     0x0035,     /* XK_K:            5                               */
00442     0x0036,     /* XK_L:            6                               */
00443     0x0031,     /* XK_M:            1                               */
00444     0x0030,     /* XK_N:            0                               */
00445     0x0039,     /* XK_O:            9                               */
00446     0x003e,     /* XK_P:            greater-than sign               */
00447     0x11ba,     /* XK_Q:            jongseong sios                  */
00448     0x1162,     /* XK_R:            jungseong ae                    */
00449     0x005b,     /* XK_S:            left bracket                    */
00450     0x003b,     /* XK_T:            semicolon                       */
00451     0x0037,     /* XK_U:            7                               */
00452     0x1169,     /* XK_V:            jungseong o                     */
00453     0x11af,     /* XK_W:            jongseong rieul                 */
00454     0x003d,     /* XK_X:            equals sign                     */
00455     0x003c,     /* XK_Y:            less-than sign                  */
00456     0x002d,     /* XK_Z:            minus sign                      */
00457     0x11c0,     /* XK_bracketleft:  jongseong thieuth               */
00458     0x11bf,     /* XK_backslash:    jongseong khieukh               */
00459     0x11c1,     /* XK_bracketright: jongseong phieuph               */
00460     0x005e,     /* XK_asciicircum:  circumflex accent               */
00461     0x005f,     /* XK_underscore:   underscore                      */
00462     0x0060,     /* XK_quoteleft:    grave accent                    */
00463     0x11bc,     /* XK_a:            jongseong ieung                 */
00464     0x116e,     /* XK_b:            jungseong u                     */
00465     0x1166,     /* XK_c:            jungseong e                     */
00466     0x1175,     /* XK_d:            jungseong i                     */
00467     0x1167,     /* XK_e:            jungseong yeo                   */
00468     0x1161,     /* XK_f:            jungseong a                     */
00469     0x1173,     /* XK_g:            jungseong eu                    */
00470     0x1102,     /* XK_h:            choseong  nieun                 */
00471     0x1106,     /* XK_i:            choseong  mieum                 */
00472     0x110b,     /* XK_j:            choseong  ieung                 */
00473     0x1100,     /* XK_k:            choseong  kiyeok                */
00474     0x110c,     /* XK_l:            choseong  cieuc                 */
00475     0x1112,     /* XK_m:            choseong  hieuh                 */
00476     0x1109,     /* XK_n:            choseong  sios                  */
00477     0x110e,     /* XK_o:            choseong  chieuch               */
00478     0x1111,     /* XK_p:            choseong  phieuph               */
00479     0x11ba,     /* XK_q:            jongseong sios                  */
00480     0x1162,     /* XK_r:            jungseong ae                    */
00481     0x11ab,     /* XK_s:            jongseong nieun                 */
00482     0x1165,     /* XK_t:            jungseong eo                    */
00483     0x1103,     /* XK_u:            choseong  tikeut                */
00484     0x1169,     /* XK_v:            jungseong o                     */
00485     0x11af,     /* XK_w:            jongseong rieul                 */
00486     0x11a8,     /* XK_x:            jongseong kiyeok                */
00487     0x1105,     /* XK_y:            choseong  rieul                 */
00488     0x11b7,     /* XK_z:            jongseong mieum                 */
00489     0x007b,     /* XK_braceleft:    left brace                      */
00490     0x007c,     /* XK_bar:          vertical line(bar)              */
00491     0x007d,     /* XK_braceright:   right brace                     */
00492     0x007e,     /* XK_asciitilde:   tilde                           */
00493 };
00494 
00495 /* Hangul keyboard map table:
00496  * 3set keyboard yetguel (sebulsik yetguel)
00497  * see http://asadal.cs.pusan.ac.kr/hangeul/kbd/oldkbd.jpg */
00498 static const UTFCHAR keyboard_map_3yet[] = {
00499     0x11bd,     /* XK_exclam:       jongseong cieuc                 */
00500     0x0022,     /* XK_quotedbl:     quotatioin mark                 */
00501     0x0023,     /* XK_numbersign:   number sign                     */
00502     0x0024,     /* XK_dollar:       dollar sign                     */
00503     0x0025,     /* XK_percent:      percent sign                    */
00504     0x0026,     /* XK_ampersand:    ampersand                       */
00505     0x1110,     /* XK_apostrophe:   choseong thieuth                */
00506     0x0028,     /* XK_parenleft:    left parenthesis                */
00507     0x0029,     /* XK_parenright:   right parenthesis               */
00508     0x002a,     /* XK_asterisk:     asterisk                        */
00509     0x002b,     /* XK_plus:         plus sign                       */
00510     0x002c,     /* XK_comma:        comma                           */
00511     0x002d,     /* XK_minus:        minus sign                      */
00512     0x002e,     /* XK_period:       period                          */
00513     0x1169,     /* XK_slash:        jungseong o                     */
00514     0x110f,     /* XK_0:            choseong  khieukh               */
00515     0x11c2,     /* XK_1:            jongseong hieuh                 */
00516     0x11bb,     /* XK_2:            jongseong ssangsios             */
00517     0x11b8,     /* XK_3:            jongseong pieup                 */
00518     0x116d,     /* XK_4:            jungseong yo                    */
00519     0x1172,     /* XK_5:            jungseong yu                    */
00520     0x1163,     /* XK_6:            jungseong ya                    */
00521     0x1168,     /* XK_7:            jungseong ye                    */
00522     0x1174,     /* XK_8:            jungseong yi                    */
00523     0x116e,     /* XK_9:            jungseong u                     */
00524     0x003a,     /* XK_colon:        colon                           */
00525     0x1107,     /* XK_semicolon:    choseong  pieup                 */
00526     0x113c,     /* XK_less:         choseong chitueumsios           */
00527     0x003d,     /* XK_equal:        euals sign                      */
00528     0x113e,     /* XK_greater:      choseong ceongchieumsios        */
00529     0x003f,     /* XK_question:     question mark                   */
00530     0x11eb,     /* XK_at:           jongseong pansios               */
00531     0x11ae,     /* XK_A:            jongseong tikeut                */
00532     0x116e,     /* XK_B:            jungseong u                     */
00533     0x11b1,     /* XK_C:            jongseong rieul-mieum           */
00534     0x11b0,     /* XK_D:            jongseong rieul-kiyeok          */
00535     0x11bf,     /* XK_E:            jongseong khieukh               */
00536     0x11a9,     /* XK_F:            jongseong ssangkiyeok           */
00537     0x119e,     /* XK_G:            jungseong araea                 */
00538     0x1102,     /* XK_H:            choseong nieun                  */
00539     0x1154,     /* XK_I:            choseong chitueumchieuch        */
00540     0x114c,     /* XK_J:            choseong yesieung               */
00541     0x114e,     /* XK_K:            choseong chitueumcieuc          */
00542     0x1150,     /* XK_L:            choseong ceongchieumcieuc       */
00543     0x1159,     /* XK_M:            choseong yeorinhieuh            */
00544     0x1140,     /* XK_N:            choseong pansios                */
00545     0x1155,     /* XK_O:            choseong ceongchieumchieuch     */
00546     0x1111,     /* XK_P:            choseong phieuph                */
00547     0x11c1,     /* XK_Q:            jongseong phieuph               */
00548     0x1164,     /* XK_R:            jungseong yae                   */
00549     0x11ad,     /* XK_S:            jongseong nieun-hieuh           */
00550     0x1165,     /* XK_T:            jungseong eo                    */
00551     0x302e,     /* XK_U:            single dot tone mark            */
00552     0x11b6,     /* XK_V:            jongseong rieul-hieuh           */
00553     0x11c0,     /* XK_W:            jongseong thikeuth              */
00554     0x11b9,     /* XK_X:            jongseong pieup-sios            */
00555     0x302f,     /* XK_Y:            double dot tone mark            */
00556     0x11be,     /* XK_Z:            jongseong chieuch               */
00557     0x005b,     /* XK_bracketleft:  left bracket                    */
00558     0x005c,     /* XK_backslash:    backslash                       */
00559     0x005d,     /* XK_bracketright: right bracket                   */
00560     0x005e,     /* XK_asciicircum:  circumflex accent               */
00561     0x005f,     /* XK_underscore:   underscore                      */
00562     0x11f9,     /* XK_quoteleft:    jongseong yeorinhieuh           */
00563     0x11bc,     /* XK_a:            jongseong ieung                 */
00564     0x116e,     /* XK_b:            jungseong u                     */
00565     0x1166,     /* XK_c:            jungseong e                     */
00566     0x1175,     /* XK_d:            jungseong i                     */
00567     0x1167,     /* XK_e:            jungseong yeo                   */
00568     0x1161,     /* XK_f:            jungseong a                     */
00569     0x1173,     /* XK_g:            jungseong eu                    */
00570     0x1102,     /* XK_h:            choseong  nieun                 */
00571     0x1106,     /* XK_i:            choseong  mieum                 */
00572     0x110b,     /* XK_j:            choseong  ieung                 */
00573     0x1100,     /* XK_k:            choseong  kiyeok                */
00574     0x110c,     /* XK_l:            choseong  cieuc                 */
00575     0x1112,     /* XK_m:            choseong  hieuh                 */
00576     0x1109,     /* XK_n:            choseong  sios                  */
00577     0x110e,     /* XK_o:            choseong  chieuch               */
00578     0x1111,     /* XK_p:            choseong  phieuph               */
00579     0x11ba,     /* XK_q:            jongseong sios                  */
00580     0x1162,     /* XK_r:            jungseong ae                    */
00581     0x11ab,     /* XK_s:            jongseong nieun                 */
00582     0x1165,     /* XK_t:            jungseong eo                    */
00583     0x1103,     /* XK_u:            choseong  tikeut                */
00584     0x1169,     /* XK_v:            jungseong o                     */
00585     0x11af,     /* XK_w:            jongseong rieul                 */
00586     0x11a8,     /* XK_x:            jongseong kiyeok                */
00587     0x1105,     /* XK_y:            choseong  rieul                 */
00588     0x11b7,     /* XK_z:            jongseong mieum                 */
00589     0x007b,     /* XK_braceleft:    left brace                      */
00590     0x007c,     /* XK_bar:          vertical line(bar)              */
00591     0x007d,     /* XK_braceright:   right brace                     */
00592     0x11f0,     /* XK_asciitilde:   jongseong yesieung              */
00593 };
00594 
00595 #endif /* KEYBOARD_MAP_H */