2022-08-06 13:29:06 -07:00
|
|
|
|
// Copyright 2022 Joshua Diamond josh@windowoffire.com (@spidey3)
|
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
2020-03-22 21:11:41 -07:00
|
|
|
|
|
2022-09-12 13:32:52 -07:00
|
|
|
|
#include "spidey3_unicode.h"
|
2020-03-22 21:11:41 -07:00
|
|
|
|
|
2022-12-31 16:54:12 -08:00
|
|
|
|
const uint32_t unicode_map[] PROGMEM = {
|
2020-06-05 02:01:47 -07:00
|
|
|
|
[BUL1] = 0x2022, // •
|
|
|
|
|
[BUL2] = 0x25E6, // ◦
|
|
|
|
|
[LARR] = 0x2190, // ←
|
|
|
|
|
[RARR] = 0x2192, // →
|
|
|
|
|
[ENDASH] = 0x2013, // –
|
|
|
|
|
[EMDASH] = 0x2014, // —
|
|
|
|
|
[SPIDER] = 0x1F577, // 🕷
|
|
|
|
|
[SAD] = 0x2639, // ☹
|
|
|
|
|
[MEH] = 0x1F611, // 😑
|
|
|
|
|
[HAPPY] = 0x1F600, // 😀
|
|
|
|
|
[ANGRY] = 0x1F620, // 😠
|
|
|
|
|
[THUMBUP] = 0x1F44D, // 👍
|
|
|
|
|
[THUMBDN] = 0x1F44E, // 👎
|
|
|
|
|
[LOL] = 0x1F602, // 😂
|
|
|
|
|
[SURPRISE] = 0x1F62E, // 😮
|
2020-03-22 21:11:41 -07:00
|
|
|
|
};
|
|
|
|
|
|
2020-06-05 02:01:47 -07:00
|
|
|
|
void eeconfig_init_user_unicode(void) {
|
|
|
|
|
// Default to Linux style
|
2022-10-31 14:15:12 -07:00
|
|
|
|
set_unicode_input_mode(UNICODE_MODE_LINUX);
|
2020-03-22 21:11:41 -07:00
|
|
|
|
}
|