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>
master
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;
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_symbol_fallback (void);
bool process_record_ucis (uint16_t keycode, keyrecord_t *record);
bool process_ucis (uint16_t keycode, keyrecord_t *record);
#endif

View File

@ -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;