2022-05-31 07:02:55 +02:00
|
|
|
// Copyright 2020 Christopher Courtney, aka Drashna Jael're (@drashna) <drashna@live.com>
|
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
enum unicode_typing_modes {
|
2022-05-31 07:02:55 +02:00
|
|
|
UCTM_NO_MODE,
|
|
|
|
UCTM_WIDE,
|
|
|
|
UCTM_SCRIPT,
|
|
|
|
UCTM_BLOCKS,
|
|
|
|
UCTM_REGIONAL,
|
|
|
|
UCTM_AUSSIE,
|
|
|
|
UCTM_ZALGO,
|
2022-07-03 04:55:46 +02:00
|
|
|
UCTM_SUPER,
|
2022-11-29 20:43:42 +01:00
|
|
|
UCTM_COMIC,
|
|
|
|
UNCODES_MODE_END,
|
2022-05-31 07:02:55 +02:00
|
|
|
};
|
|
|
|
|
2022-11-29 20:43:42 +01:00
|
|
|
extern uint8_t unicode_typing_mode;
|
|
|
|
extern const PROGMEM char unicode_mode_str[UNCODES_MODE_END][13];
|
2023-05-31 20:44:06 +02:00
|
|
|
void set_unicode_input_mode_soft(uint8_t input_mode);
|