Fix Tx Bolt ghosting second character on key press (#5229)

* convert tabs to spaces

* fix #4578: don't call gemini protocol code when in bolt mode

Add missing break; statements in switch. The missing break resulted in
a fall through and an additional processing of the gemini code.
This commit is contained in:
Tobias Schulte 2019-02-24 04:32:48 +01:00 committed by Drashna Jaelre
parent 0f62383be5
commit a69e4406d4
1 changed files with 24 additions and 22 deletions

View File

@ -184,8 +184,10 @@ bool process_steno(uint16_t keycode, keyrecord_t *record) {
switch(mode) {
case STENO_MODE_BOLT:
update_state_bolt(keycode - QK_STENO, IS_PRESSED(record->event));
break;
case STENO_MODE_GEMINI:
update_state_gemini(keycode - QK_STENO, IS_PRESSED(record->event));
break;
}
// allow postprocessing hooks
if (postprocess_steno_user(keycode, record, mode, chord, pressed)) {