Merge remote-tracking branch 'refs/remotes/jackhumbert/master' into vision_division_dev
This commit is contained in:
commit
8423601ea1
3 changed files with 7 additions and 3 deletions
|
@ -74,6 +74,8 @@ bool process_unicode(uint16_t keycode, keyrecord_t *record) {
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef UCIS_ENABLE
|
#ifdef UCIS_ENABLE
|
||||||
|
qk_ucis_state_t qk_ucis_state;
|
||||||
|
|
||||||
void qk_ucis_start(void) {
|
void qk_ucis_start(void) {
|
||||||
qk_ucis_state.count = 0;
|
qk_ucis_state.count = 0;
|
||||||
qk_ucis_state.in_progress = true;
|
qk_ucis_state.in_progress = true;
|
||||||
|
|
|
@ -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}
|
||||||
|
|
|
@ -13,7 +13,7 @@ For an easy-to-read version of this document and the repository, check out [http
|
||||||
* [Planck](/keyboards/planck/)
|
* [Planck](/keyboards/planck/)
|
||||||
* [Preonic](/keyboards/preonic/)
|
* [Preonic](/keyboards/preonic/)
|
||||||
* [Atomic](/keyboards/atomic/)
|
* [Atomic](/keyboards/atomic/)
|
||||||
* [ErgoDox EZ](/keyboards/ergodox/ez/)
|
* [ErgoDox EZ](/keyboards/ergodox/)
|
||||||
* [Clueboard](/keyboards/clueboard/)
|
* [Clueboard](/keyboards/clueboard/)
|
||||||
* [Cluepad](/keyboards/cluepad/)
|
* [Cluepad](/keyboards/cluepad/)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue