-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkeyboardLayout.ts
More file actions
51 lines (49 loc) · 1.07 KB
/
keyboardLayout.ts
File metadata and controls
51 lines (49 loc) · 1.07 KB
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
export const LETTER_ROWS: string[][] = [
["q", "w", "e", "r", "t", "y", "u", "i", "o", "p"],
["a", "s", "d", "f", "g", "h", "j", "k", "l"],
["z", "x", "c", "v", "b", "n", "m"],
];
export const NUMERIC_SYMBOLS = [
{ label: "+", value: "+" },
{ label: "-", value: "-" },
{ label: "×", value: "*" },
{ label: "/", value: "/" },
{ label: "(", value: "(" },
{ label: ")", value: ")" },
{ label: ".", value: "." },
{ label: "=", value: "=" },
{ label: ",", value: "," },
{ label: "#", value: "#" },
{ label: ":", value: ":" },
{ label: "_", value: "_" },
{ label: "?", value: "?" },
{ label: "¥", value: "¥" },
];
export const BACKSLASH_SYMBOLS: Record<string, string> = {
a: "[a]",
b: "【b】",
c: "❲c❳",
d: "〔d〕",
e: "⟮e⟯",
f: "⟦f⟧",
g: "「g」",
h: "#",
i: "『i』",
j: "<j>",
k: "《k》",
l: "〈l〉",
m: "‹m›",
n: "«n»",
o: "⦅o⦆",
p: "⦇p⦈",
q: "(q)",
r: "儿",
s: "[s]",
t: "⟨t⟩",
u: "[u]",
v: "❰v❱",
w: "(w)",
x: "{x}",
y: "⟪y⟫",
z: "{z}",
};