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.
pull/5232/head 0.6.302
Tobias Schulte 6 years ago committed by Drashna Jaelre
parent 0f62383be5
commit a69e4406d4

@ -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)) {

Loading…
Cancel
Save