Want to contribute? Fork me on Codeberg.org!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

49 lines
1.6 KiB

2 years ago
const keymap = {
"1": ["", "", null, ""],
"2": ["", "", null, "”"],
"3": ["", null, null, ""],
"4": ["", "「", null, ""],
"5": ["", "」", null, ""],
"6": ["", null, "", ""],
"7": ["", null, "", ""],
"8": ["", null, "", ""],
"9": ["", null, "", ""],
"0": ["", null, null, ""],
"-": ["", null, null, ""],
"=": ["", null, null, ""],
"q": ["。", "ぁ", null, ""],
"w": ["か", "え", "が", ""],
"e": ["た", "り", "だ", ""],
"r": ["こ", "ゃ", "ご", ""],
"t": ["さ", "れ", "ざ", ""],
"y": ["ら", "ぱ", "よ", ""],
"u": ["ち", "ぢ", "に", ""],
"i": ["く", "ぐ", "る", ""],
"o": ["つ", "づ", "ま", ""],
"p": ["", "ぴ", "ぇ", ""],
"[": ["、", null, null, ""],
"]": ["゛", null, "゜", ""],
"\\": ["", null, null, ""],
"a": ["う", "を", null, ""],
"s": ["し", "あ", "じ", ""],
"d": ["て", "な", "で", ""],
"f": ["け", "ゅ", "げ", ""],
"g": ["せ", "も", "ぜ", ""],
"h": ["は", "ば", "み", ""],
"j": ["と", "ど", "お", ""],
"k": ["き", "ぎ", "の", ""],
"l": ["い", "ぽ", "ょ", ""],
";": ["ん", null, "っ", ""],
"'": ["", null, null, ""],
"z": ["", "ぅ", null, ""],
"x": ["ひ", "ー", "び", ""],
"c": ["す", "ろ", "ず", ""],
"v": ["ふ", "や", "ぶ", ""],
"b": ["へ", "ぃ", "べ", ""],
"n": ["め", "ぷ", "ぬ", ""],
"m": ["そ", "ぞ", "ゆ", ""],
",": ["ね", "ぺ", "む", ""],
".": ["ほ", "ぼ", "わ", ""],
"/": ["・", null, "ぉ", ""],
};