1
0

Add cycle_unicode_input_mode and UNICODE_SELECTED_MODES macro

This commit is contained in:
Konstantin Đorđević
2018-10-23 17:05:22 +02:00
parent cd544e10a9
commit b01d34e1dd
2 changed files with 37 additions and 0 deletions

View File

@@ -19,6 +19,12 @@
#include "quantum.h"
// Comma-delimited, ordered list of input modes selected for use (e.g. in cycle)
// Example: #define UNICODE_SELECTED_MODES UC_WINC, UC_LNX
#ifndef UNICODE_SELECTED_MODES
#define UNICODE_SELECTED_MODES -1
#endif
#ifndef UNICODE_TYPE_DELAY
#define UNICODE_TYPE_DELAY 10
#endif
@@ -29,6 +35,8 @@ static uint8_t input_mode;
void set_unicode_input_mode(uint8_t os_target);
uint8_t get_unicode_input_mode(void);
void unicode_input_mode_init(void);
void cycle_unicode_input_mode(void);
void unicode_input_start(void);
void unicode_input_finish(void);
void register_hex(uint16_t hex);