Browse Source

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>
pull/635/head
Gergely Nagy 7 years ago
parent
commit
857aa5bef6
3 changed files with 5 additions and 2 deletions
  1. +1
    -1
      quantum/process_keycode/process_unicode.c
  2. +1
    -1
      quantum/process_keycode/process_unicode.h
  3. +3
    -0
      quantum/quantum.c

+ 1
- 1
quantum/process_keycode/process_unicode.c 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)


+ 1
- 1
quantum/process_keycode/process_unicode.h 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


+ 3
- 0
quantum/quantum.c 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;


Loading…
Cancel
Save