1
0
Fork 0

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:
Gergely Nagy 2016-08-13 11:14:42 +02:00
parent 0b6861827f
commit 857aa5bef6
3 changed files with 5 additions and 2 deletions

View file

@ -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; uint8_t i;
if (!qk_ucis_state.in_progress) if (!qk_ucis_state.in_progress)

View file

@ -38,7 +38,7 @@ extern const qk_ucis_symbol_t ucis_symbol_table[];
void qk_ucis_start(void); void qk_ucis_start(void);
void qk_ucis_symbol_fallback (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 #endif

View file

@ -86,6 +86,9 @@ bool process_record_quantum(keyrecord_t *record) {
#endif #endif
#ifdef UNICODE_ENABLE #ifdef UNICODE_ENABLE
process_unicode(keycode, record) && process_unicode(keycode, record) &&
#endif
#ifdef UCIS_ENABLE
process_ucis(keycode, record) &&
#endif #endif
true)) { true)) {
return false; return false;