📄 hangul.c
字号:
|| HIBYTE(mb) < 0xa1 || HIBYTE(mb) > 0xfe)
return 0;
}
return ch;
}
// imported from the imhangul 0.9.7
// s/gunichar/WCHAR/g
/* Hangul keyboard map table:
* 2set keyboard (dubulsik) */
static const WCHAR keyboard_table_2[] = {
0x0021, /* GDK_exclam: exclamation mark */
0x0022, /* GDK_quotedbl: quotation mark */
0x0023, /* GDK_numbersign: number sign */
0x0024, /* GDK_dollar: dollar sign */
0x0025, /* GDK_percent: percent sign */
0x0026, /* GDK_ampersand: ampersand */
0x0027, /* GDK_apostrophe: apostrophe */
0x0028, /* GDK_parenleft: left parenthesis */
0x0029, /* GDK_parenright: right parenthesis */
0x002a, /* GDK_asterisk: asterisk */
0x002b, /* GDK_plus: plus sign */
0x002c, /* GDK_comma: comma */
0x002d, /* GDK_minus: minus sign */
0x002e, /* GDK_period: period */
0x002f, /* GDK_slash: slash */
0x0030, /* GDK_0: 0 */
0x0031, /* GDK_1: 1 */
0x0032, /* GDK_2: 2 */
0x0033, /* GDK_3: 3 */
0x0034, /* GDK_4: 4 */
0x0035, /* GDK_5: 5 */
0x0036, /* GDK_6: 6 */
0x0037, /* GDK_7: 7 */
0x0038, /* GDK_8: 8 */
0x0039, /* GDK_9: 9 */
0x003a, /* GDK_colon: colon */
0x003b, /* GDK_semicolon: semicolon */
0x003c, /* GDK_less: less-than sign */
0x003d, /* GDK_equal: equals sign */
0x003e, /* GDK_greater: greater-than sign */
0x003f, /* GDK_question: question mark */
0x0040, /* GDK_at: commercial at */
0x1106, /* GDK_A: choseong mieum */
0x1172, /* GDK_B: jungseong yu */
0x110e, /* GDK_C: choseong chieuch */
0x110b, /* GDK_D: choseong ieung */
0x1104, /* GDK_E: choseong ssangtikeut */
0x1105, /* GDK_F: choseong rieul */
0x1112, /* GDK_G: choseong hieuh */
0x1169, /* GDK_H: jungseong o */
0x1163, /* GDK_I: jungseong ya */
0x1165, /* GDK_J: jungseong eo */
0x1161, /* GDK_K: jungseong a */
0x1175, /* GDK_L: jungseong i */
0x1173, /* GDK_M: jungseong eu */
0x116e, /* GDK_N: jungseong u */
0x1164, /* GDK_O: jungseong yae */
0x1168, /* GDK_P: jungseong ye */
0x1108, /* GDK_Q: choseong ssangpieup */
0x1101, /* GDK_R: choseong ssangkiyeok */
0x1102, /* GDK_S: choseong nieun */
0x110a, /* GDK_T: choseong ssangsios */
0x1167, /* GDK_U: jungseong yeo */
0x1111, /* GDK_V: choseong phieuph */
0x110d, /* GDK_W: choseong ssangcieuc */
0x1110, /* GDK_X: choseong thieuth */
0x116d, /* GDK_Y: jungseong yo */
0x110f, /* GDK_Z: choseong khieukh */
0x005b, /* GDK_bracketleft: left bracket */
0x005c, /* GDK_backslash: backslash */
0x005d, /* GDK_bracketright: right bracket */
0x005e, /* GDK_asciicircum: circumflex accent */
0x005f, /* GDK_underscore: underscore */
0x0060, /* GDK_quoteleft: grave accent */
0x1106, /* GDK_a: choseong mieum */
0x1172, /* GDK_b: jungseong yu */
0x110e, /* GDK_c: choseong chieuch */
0x110b, /* GDK_d: choseong ieung */
0x1103, /* GDK_e: choseong tikeut */
0x1105, /* GDK_f: choseong rieul */
0x1112, /* GDK_g: choseong hieuh */
0x1169, /* GDK_h: jungseong o */
0x1163, /* GDK_i: jungseong ya */
0x1165, /* GDK_j: jungseong eo */
0x1161, /* GDK_k: jungseong a */
0x1175, /* GDK_l: jungseong i */
0x1173, /* GDK_m: jungseong eu */
0x116e, /* GDK_n: jungseong u */
0x1162, /* GDK_o: jungseong ae */
0x1166, /* GDK_p: jungseong e */
0x1107, /* GDK_q: choseong pieup */
0x1100, /* GDK_r: choseong kiyeok */
0x1102, /* GDK_s: choseong nieun */
0x1109, /* GDK_t: choseong sios */
0x1167, /* GDK_u: jungseong yeo */
0x1111, /* GDK_v: choseong phieuph */
0x110c, /* GDK_w: choseong cieuc */
0x1110, /* GDK_x: choseong thieuth */
0x116d, /* GDK_y: jungseong yo */
0x110f, /* GDK_z: choseong khieukh */
0x007b, /* GDK_braceleft: left brace */
0x007c, /* GDK_bar: vertical bar */
0x007d, /* GDK_braceright: right brace */
0x007e, /* GDK_asciitilde: tilde */
};
/* Hangul keyboard map table:
* 3set keyboard 2bul shifted (sebulsik dubulsik badchim) */
static const WCHAR keyboard_table_32[] = {
0x0021, /* GDK_exclam: exclamation mark */
0x0022, /* GDK_quotedbl: quotation mark */
0x0023, /* GDK_numbersign: number sign */
0x0024, /* GDK_dollar: dollar sign */
0x0025, /* GDK_percent: percent sign */
0x0026, /* GDK_ampersand: ampersand */
0x0027, /* GDK_apostrophe: apostrophe */
0x0028, /* GDK_parenleft: left parenthesis */
0x0029, /* GDK_parenright: right parenthesis */
0x002a, /* GDK_asterisk: asterisk */
0x002b, /* GDK_plus: plus sign */
0x002c, /* GDK_comma: comma */
0x002d, /* GDK_minus: minus sign */
0x002e, /* GDK_period: period */
0x002f, /* GDK_slash: slash */
0x0030, /* GDK_0: 0 */
0x0031, /* GDK_1: 1 */
0x0032, /* GDK_2: 2 */
0x0033, /* GDK_3: 3 */
0x0034, /* GDK_4: 4 */
0x0035, /* GDK_5: 5 */
0x0036, /* GDK_6: 6 */
0x0037, /* GDK_7: 7 */
0x0038, /* GDK_8: 8 */
0x0039, /* GDK_9: 9 */
0x003a, /* GDK_colon: colon */
0x003b, /* GDK_semicolon: semicolon */
0x003c, /* GDK_less: less-than sign */
0x003d, /* GDK_equal: equals sign */
0x003e, /* GDK_greater: greater-than sign */
0x003f, /* GDK_question: question mark */
0x0040, /* GDK_at: commercial at */
0x11b7, /* GDK_A: jongseong mieum */
0x1172, /* GDK_B: jungseong yu */
0x11be, /* GDK_C: jongseong chieuch */
0x11bc, /* GDK_D: jongseong ieung */
0x11ae, /* GDK_E: jongseong tikeut */
0x11af, /* GDK_F: jongseong rieul */
0x11c2, /* GDK_G: jongseong hieuh */
0x1169, /* GDK_H: jungseong o */
0x1163, /* GDK_I: jungseong ya */
0x1165, /* GDK_J: jungseong eo */
0x1161, /* GDK_K: jungseong a */
0x1175, /* GDK_L: jungseong i */
0x1173, /* GDK_M: jungseong eu */
0x116e, /* GDK_N: jungseong u */
0x1164, /* GDK_O: jungseong yae */
0x1168, /* GDK_P: jungseong ye */
0x11b8, /* GDK_Q: jongseong pieup */
0x11a8, /* GDK_R: jongseong kiyeok */
0x11ab, /* GDK_S: jongseong nieun */
0x11ba, /* GDK_T: jongseong sios */
0x1167, /* GDK_U: jungseong yeo */
0x11c1, /* GDK_V: jongseong phieuph */
0x11bd, /* GDK_W: jongseong cieuc */
0x11c0, /* GDK_X: jongseong thieuth */
0x116d, /* GDK_Y: jungseong yo */
0x11bf, /* GDK_Z: jongseong khieukh */
0x005b, /* GDK_bracketleft: left bracket */
0x005c, /* GDK_backslash: backslash */
0x005d, /* GDK_bracketright: right bracket */
0x005e, /* GDK_asciicircum: circumflex accent */
0x005f, /* GDK_underscore: underscore */
0x0060, /* GDK_quoteleft: grave accent */
0x1106, /* GDK_a: choseong mieum */
0x1172, /* GDK_b: jungseong yu */
0x110e, /* GDK_c: choseong chieuch */
0x110b, /* GDK_d: choseong ieung */
0x1103, /* GDK_e: choseong tikeut */
0x1105, /* GDK_f: choseong rieul */
0x1112, /* GDK_g: choseong hieuh */
0x1169, /* GDK_h: jungseong o */
0x1163, /* GDK_i: jungseong ya */
0x1165, /* GDK_j: jungseong eo */
0x1161, /* GDK_k: jungseong a */
0x1175, /* GDK_l: jungseong i */
0x1173, /* GDK_m: jungseong eu */
0x116e, /* GDK_n: jungseong u */
0x1162, /* GDK_o: jungseong ae */
0x1166, /* GDK_p: jungseong e */
0x1107, /* GDK_q: choseong pieup */
0x1100, /* GDK_r: choseong kiyeok */
0x1102, /* GDK_s: choseong nieun */
0x1109, /* GDK_t: choseong sios */
0x1167, /* GDK_u: jungseong yeo */
0x1111, /* GDK_v: choseong phieuph */
0x110c, /* GDK_w: choseong cieuc */
0x1110, /* GDK_x: choseong thieuth */
0x116d, /* GDK_y: jungseong yo */
0x110f, /* GDK_z: choseong khieukh */
0x007b, /* GDK_braceleft: left brace */
0x007c, /* GDK_bar: vertical bar */
0x007d, /* GDK_braceright: right brace */
0x007e, /* GDK_asciitilde: tilde */
};
/* Hangul keyboard map table:
* 3set keyboard 390 (sebulsik 390) */
static const WCHAR keyboard_table_390[] = {
0x11bd, /* GDK_exclam: jongseong cieuc */
0x0022, /* GDK_quotedbl: quotatioin mark */
0x0023, /* GDK_numbersign: number sign */
0x0024, /* GDK_dollar: dollar sign */
0x0025, /* GDK_percent: percent sign */
0x0026, /* GDK_ampersand: ampersand */
0x1110, /* GDK_apostrophe: choseong thieuth */
0x0028, /* GDK_parenleft: left parenthesis */
0x0029, /* GDK_parenright: right parenthesis */
0x002a, /* GDK_asterisk: asterisk */
0x002b, /* GDK_plus: plus sign */
0x002c, /* GDK_comma: comma */
0x002d, /* GDK_minus: minus sign */
0x002e, /* GDK_period: period */
0x1169, /* GDK_slash: jungseong o */
0x110f, /* GDK_0: choseong khieukh */
0x11c2, /* GDK_1: jongseong hieuh */
0x11bb, /* GDK_2: jongseong ssangsios */
0x11b8, /* GDK_3: jongseong pieup */
0x116d, /* GDK_4: jungseong yo */
0x1172, /* GDK_5: jungseong yu */
0x1163, /* GDK_6: jungseong ya */
0x1168, /* GDK_7: jungseong ye */
0x1174, /* GDK_8: jungseong yi */
0x116e, /* GDK_9: jungseong u */
0x003a, /* GDK_colon: colon */
0x1107, /* GDK_semicolon: choseong pieup */
0x0032, /* GDK_less: 2 */
0x003d, /* GDK_equal: euals sign */
0x0033, /* GDK_greater: 3 */
0x003f, /* GDK_question: question mark */
0x0040, /* GDK_at: commertial at */
0x11ae, /* GDK_A: jongseong tikeut */
0x0021, /* GDK_B: exclamation mark */
0x11b1, /* GDK_C: jongseong rieul-mieum */
0x11b0, /* GDK_D: jongseong rieul-kiyeok */
0x11bf, /* GDK_E: jongseong khieukh */
0x11a9, /* GDK_F: jongseong ssangkiyeok */
0x002f, /* GDK_G: slash */
0x0027, /* GDK_H: apostrophe */
0x0038, /* GDK_I: 8 */
0x0034, /* GDK_J: 4 */
0x0035, /* GDK_K: 5 */
0x0036, /* GDK_L: 6 */
0x0031, /* GDK_M: 1 */
0x0030, /* GDK_N: 0 */
0x0039, /* GDK_O: 9 */
0x003e, /* GDK_P: greater-than sign */
0x11c1, /* GDK_Q: jongseong phieuph */
0x1164, /* GDK_R: jungseong yae */
0x11ad, /* GDK_S: jongseong nieun-hieuh */
0x003b, /* GDK_T: semicolon */
0x0037, /* GDK_U: 7 */
0x11b6, /* GDK_V: jongseong rieul-hieuh */
0x11c0, /* GDK_W: jongseong thikeuth */
0x11b9, /* GDK_X: jongseong pieup-sios */
0x003c, /* GDK_Y: less-than sign */
0x11be, /* GDK_Z: jongseong chieuch */
0x005b, /* GDK_bracketleft: left bracket */
0x005c, /* GDK_backslash: backslash */
0x005d, /* GDK_bracketright: right bracket */
0x005e, /* GDK_asciicircum: circumflex accent */
0x005f, /* GDK_underscore: underscore */
0x0060, /* GDK_quoteleft: grave accent */
0x11bc, /* GDK_a: jongseong ieung */
0x116e, /* GDK_b: jungseong u */
0x1166, /* GDK_c: jungseong e */
0x1175, /* GDK_d: jungseong i */
0x1167, /* GDK_e: jungseong yeo */
0x1161, /* GDK_f: jungseong a */
0x1173, /* GDK_g: jungseong eu */
0x1102, /* GDK_h: choseong nieun */
0x1106, /* GDK_i: choseong mieum */
0x110b, /* GDK_j: choseong ieung */
0x1100, /* GDK_k: choseong kiyeok */
0x110c, /* GDK_l: choseong cieuc */
0x1112, /* GDK_m: choseong hieuh */
0x1109, /* GDK_n: choseong sios */
0x110e, /* GDK_o: choseong chieuch */
0x1111, /* GDK_p: choseong phieuph */
0x11ba, /* GDK_q: jongseong sios */
0x1162, /* GDK_r: jungseong ae */
0x11ab, /* GDK_s: jongseong nieun */
0x1165, /* GDK_t: jungseong eo */
0x1103, /* GDK_u: choseong tikeut */
0x1169, /* GDK_v: jungseong o */
0x11af, /* GDK_w: jongseong rieul */
0x11a8, /* GDK_x: jongseong kiyeok */
0x1105, /* GDK_y: choseong rieul */
0x11b7, /* GDK_z: jongseong mieum */
0x007b, /* GDK_braceleft: left brace */
0x007c, /* GDK_bar: vertical line(bar) */
0x007d, /* GDK_braceright: right brace */
0x007e, /* GDK_asciitilde: tilde */
};
/* Hangul keyboard map table:
* 3set keyboard final (sebulsik choejong) */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -