process_unicode: Call process_ucis() automatically
If UCIS is enabled, call process_ucis() automatically from process_record_quantum(). Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
This commit is contained in:
parent
0b6861827f
commit
857aa5bef6
3 changed files with 5 additions and 2 deletions
quantum
|
@ -107,7 +107,7 @@ void qk_ucis_symbol_fallback (void) {
|
|||
}
|
||||
}
|
||||
|
||||
bool process_record_ucis (uint16_t keycode, keyrecord_t *record) {
|
||||
bool process_ucis (uint16_t keycode, keyrecord_t *record) {
|
||||
uint8_t i;
|
||||
|
||||
if (!qk_ucis_state.in_progress)
|
||||
|
|
|
@ -38,7 +38,7 @@ extern const qk_ucis_symbol_t ucis_symbol_table[];
|
|||
|
||||
void qk_ucis_start(void);
|
||||
void qk_ucis_symbol_fallback (void);
|
||||
bool process_record_ucis (uint16_t keycode, keyrecord_t *record);
|
||||
bool process_ucis (uint16_t keycode, keyrecord_t *record);
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -86,6 +86,9 @@ bool process_record_quantum(keyrecord_t *record) {
|
|||
#endif
|
||||
#ifdef UNICODE_ENABLE
|
||||
process_unicode(keycode, record) &&
|
||||
#endif
|
||||
#ifdef UCIS_ENABLE
|
||||
process_ucis(keycode, record) &&
|
||||
#endif
|
||||
true)) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue