|
|
@ -29,11 +29,13 @@ typedef struct {
|
|
|
|
char *code;
|
|
|
|
char *code;
|
|
|
|
} qk_ucis_symbol_t;
|
|
|
|
} qk_ucis_symbol_t;
|
|
|
|
|
|
|
|
|
|
|
|
struct {
|
|
|
|
typedef struct {
|
|
|
|
uint8_t count;
|
|
|
|
uint8_t count;
|
|
|
|
uint16_t codes[UCIS_MAX_SYMBOL_LENGTH];
|
|
|
|
uint16_t codes[UCIS_MAX_SYMBOL_LENGTH];
|
|
|
|
bool in_progress:1;
|
|
|
|
bool in_progress:1;
|
|
|
|
} qk_ucis_state;
|
|
|
|
} qk_ucis_state_t;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
extern qk_ucis_state_t qk_ucis_state;
|
|
|
|
|
|
|
|
|
|
|
|
#define UCIS_TABLE(...) {__VA_ARGS__, {NULL, NULL}}
|
|
|
|
#define UCIS_TABLE(...) {__VA_ARGS__, {NULL, NULL}}
|
|
|
|
#define UCIS_SYM(name, code) {name, #code}
|
|
|
|
#define UCIS_SYM(name, code) {name, #code}
|
|
|
|