-
Notifications
You must be signed in to change notification settings - Fork 0
/
3soon.js
125 lines (121 loc) · 4.04 KB
/
3soon.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
(function() {
var keyboard_table_3soon = {
name: "3-soon",
desc: "세벌식 순아래",
type: 3,
table: [
0x0021, /* exclam: exclamation mark */
0x0022, /* quotedbl: quotatioin mark */
0x0023, /* numbersign: number sign */
0x0024, /* dollar: dollar sign */
0x0025, /* percent: percent sign */
0x0026, /* ampersand: ampersand */
0x1110, /* apostrophe: choseong thieuth */
0x0028, /* parenleft: left parenthesis */
0x0029, /* parenright: right parenthesis */
0x002a, /* asterisk: asterisk */
0x002b, /* plus: plus sign */
0x002c, /* comma: comma */
0x11bd, /* minus: jongseong cieuc */
0x002e, /* period: period */
0x11ae, /* slash: jongseong tikeut */
0x1164, /* 0: choseong yae */
0x11c2, /* 1: jongseong hieuh */
0x11bb, /* 2: jongseong ssangsios */
0x11b8, /* 3: jongseong pieup */
0x116d, /* 4: jungseong yo */
0x1172, /* 5: jungseong yu */
0x1163, /* 6: jungseong ya */
0x1168, /* 7: jungseong ye */
0x1174, /* 8: jungseong yi */
0x110f, /* 9: choseong khieukh */
0x003a, /* colon: colon */
0x1107, /* semicolon: choseong pieup */
0x0032, /* less: 2 */
0x11be, /* equal: jongseong chieuch */
0x0033, /* greater: 3 */
0x003f, /* question: question mark */
0x0040, /* at: commertial at */
0x11bc, /* A: jongseong ieung */
0x0021, /* B: exclamation mark */
0x005c, /* C: backslash */
0x005d, /* D: right bracket */
0x1167, /* E: jungseong yeo */
0x1161, /* F: jungseong a */
0x002f, /* G: slash */
0x0027, /* H: apostrophe */
0x0038, /* I: 8 */
0x0034, /* J: 4 */
0x0035, /* K: 5 */
0x0036, /* L: 6 */
0x0031, /* M: 1 */
0x0030, /* N: 0 */
0x0039, /* O: 9 */
0x003e, /* P: greater-than sign */
0x11ba, /* Q: jongseong sios */
0x1162, /* R: jungseong ae */
0x005b, /* S: left bracket */
0x003b, /* T: semicolon */
0x0037, /* U: 7 */
0x1169, /* V: jungseong o */
0x11af, /* W: jongseong rieul */
0x003d, /* X: equals sign */
0x003c, /* Y: less-than sign */
0x002d, /* Z: minus sign */
0x11c0, /* bracketleft: jongseong thieuth */
0x11bf, /* backslash: jongseong khieukh */
0x11c1, /* bracketright: jongseong phieuph */
0x005e, /* asciicircum: circumflex accent */
0x005f, /* underscore: underscore */
0x0060, /* quoteleft: grave accent */
0x11bc, /* a: jongseong ieung */
0x116e, /* b: jungseong u */
0x1166, /* c: jungseong e */
0x1175, /* d: jungseong i */
0x1167, /* e: jungseong yeo */
0x1161, /* f: jungseong a */
0x1173, /* g: jungseong eu */
0x1102, /* h: choseong nieun */
0x1106, /* i: choseong mieum */
0x110b, /* j: choseong ieung */
0x1100, /* k: choseong kiyeok */
0x110c, /* l: choseong cieuc */
0x1112, /* m: choseong hieuh */
0x1109, /* n: choseong sios */
0x110e, /* o: choseong chieuch */
0x1111, /* p: choseong phieuph */
0x11ba, /* q: jongseong sios */
0x1162, /* r: jungseong ae */
0x11ab, /* s: jongseong nieun */
0x1165, /* t: jungseong eo */
0x1103, /* u: choseong tikeut */
0x1169, /* v: jungseong o */
0x11af, /* w: jongseong rieul */
0x11a8, /* x: jongseong kiyeok */
0x1105, /* y: choseong rieul */
0x11b7, /* z: jongseong mieum */
0x007b, /* braceleft: left brace */
0x007c, /* bar: vertical line(bar) */
0x007d, /* braceright: right brace */
0x007e, /* asciitilde: tilde */
]
};
if (typeof Saenaru === 'function') {
Saenaru.prototype.keyboards["3-soon"] = keyboard_table_3soon;
}
var init = function() {
if (document.saenaru) {
if (typeof document.saenaru.keyboards["3-soon"] === 'undefined')
document.saenaru.keyboards["3-soon"] = keyboard_table_3soon;
document.saenaru.setKeyboard();
document.saenaru.setStatus();
}
}
if (document.readyState == 'complete') {
init();
} else if (window.addEventListener) {
window.addEventListener('load', init, false);
} else if (window.attachEvent) {
window.attachEvent('onload', init);
}
})();