aboutsummaryrefslogtreecommitdiff
path: root/users/nstickney/unicodemap.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/nstickney/unicodemap.h')
-rw-r--r--users/nstickney/unicodemap.h106
1 files changed, 106 insertions, 0 deletions
diff --git a/users/nstickney/unicodemap.h b/users/nstickney/unicodemap.h
new file mode 100644
index 000000000..3b7d9e305
--- /dev/null
+++ b/users/nstickney/unicodemap.h
@@ -0,0 +1,106 @@
1/* Copyright 2021 @nstickney
2 *
3 * This program is free software: you can redistribute it and/or modify
4 * it under the terms of the GNU General Public License as published by
5 * the Free Software Foundation, either version 2 of the License, or
6 * (at your option) any later version.
7 *
8 * This program is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * GNU General Public License for more details.
12 *
13 * You should have received a copy of the GNU General Public License
14 * along with this program. If not, see <http://www.gnu.org/licenses/>.
15 */
16#pragma once
17
18enum {
19 // Used on base
20
21 // Used on US-International
22 IEX, SS2, SS3, CUR, EUR, V14, V12, V34, LSQ, RSQ, YEN, MLT,
23 A_D, A_R, E_A, REG, THR, U_D, U_A, I_A, O_A, O_D, LDA, RDA, NOT,
24 A_A, S_S, ETH, EMD, OEL, O_S, PLC, ACT,
25 AEL, CPR, N_T, MCR, C_C, IQM,
26
27 // Used on US-International with Shift
28 SS1, GBP, DIV,
29 AXD, ACR, ECA, UCD, UCA, ICA, OCA, OCD, BKB,
30 ACA, SEC, ETC, OEC, OCS, DEG, DIS,
31 AEC, CNT, NCT, CCC,
32
33 // Added to US-International
34
35 // Added to US-International with Shift
36 LDQ, RDQ,
37 CPL
38};
39
40const uint32_t PROGMEM unicode_map[] = {
41 [IEX] = 0xA1, // ¡
42 [SS2] = 0xB2, // ²
43 [SS3] = 0xB3, // ³
44 [CUR] = 0xA4, // ¤
45 [EUR] = 0x20AC, // €
46 [V14] = 0xBC, // ¼
47 [V12] = 0xBD, // ½
48 [V34] = 0xBE, // ¾
49 [LSQ] = 0x2018, // ‘
50 [RSQ] = 0x2019, // ’
51 [YEN] = 0xA5, // ¥
52 [MLT] = 0xD7, // ×
53 [A_D] = 0xE4, // ä
54 [A_R] = 0xE5, // å
55 [E_A] = 0xE9, // é
56 [REG] = 0xAE, // ®
57 [THR] = 0xFE, // þ
58 [U_D] = 0xFC, // ü
59 [U_A] = 0xFA, // ú
60 [I_A] = 0xED, // í
61 [O_A] = 0xF3, // ó
62 [O_D] = 0xF6, // ö
63 [LDA] = 0xAB, // «
64 [RDA] = 0xBB, // »
65 [NOT] = 0xAC, // ¬
66 [A_A] = 0xE1, // á
67 [S_S] = 0xDF, // ß
68 [ETH] = 0xF0, // ð
69 [EMD] = 0x2014, // —
70 [OEL] = 0x153, // œ
71 [O_S] = 0xF8, // ø
72 [PLC] = 0xB6, // ¶
73 [ACT] = 0xB4, // ´
74 [AEL] = 0xE6, // æ
75 [CPR] = 0xA9, // ©
76 [N_T] = 0xF1, // ñ
77 [MCR] = 0xB5, // µ
78 [C_C] = 0xE7, // ç
79 [IQM] = 0xBF, // ¿
80 [SS1] = 0xB9, // ¹
81 [GBP] = 0xA3, // £
82 [DIV] = 0xF7, // ÷
83 [AXD] = 0xC4, // Ä
84 [ACR] = 0xC5, // Å
85 [ECA] = 0xC9, // É
86 [UCD] = 0xDC, // Ü
87 [UCA] = 0xDA, // Ú
88 [ICA] = 0xCD, // Í
89 [OCA] = 0xD3, // Ó
90 [OCD] = 0xD6, // Ö
91 [BKB] = 0xA6, // ¦
92 [ACA] = 0xC1, // Á
93 [SEC] = 0xA7, // §
94 [ETC] = 0xD0, // Ð
95 [OEC] = 0x152, // Œ
96 [OCS] = 0xD8, // Ø
97 [DEG] = 0xB0, // °
98 [DIS] = 0xA8, // ¨
99 [AEC] = 0xC6, // Æ
100 [CNT] = 0xA2, // ¢
101 [NCT] = 0xD1, // Ñ
102 [CCC] = 0xC7, // Ç
103 [LDQ] = 0x201C, // “
104 [RDQ] = 0x201D, // ”
105 [CPL] = 0x1F12F // 🄯
106};