From e694a370ed08e5ef297136f1b54317e95945db4e Mon Sep 17 00:00:00 2001 From: Victor Date: Sun, 12 May 2024 14:55:26 -0500 Subject: [PATCH] Trying to fix where I couldn't alt tab - Fixing some of the switch statements --- users/t4corun/features/combo.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/users/t4corun/features/combo.c b/users/t4corun/features/combo.c index 835ae85d..48c46717 100644 --- a/users/t4corun/features/combo.c +++ b/users/t4corun/features/combo.c @@ -14,6 +14,7 @@ bool get_combo_must_tap(uint16_t index, combo_t *combo) { case KEY_ENT: case KEY_TAB: return true; + break; default: return false; @@ -31,7 +32,8 @@ bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode case KEY_ENT: case KEY_TAB: - if ( get_highest_layer(layer_state) == _SYMBOL ) return false; + if ( get_highest_layer(layer_state) == _SYMBOL ) return false; + break; case MOUSE_BUTTON1: case MOUSE_BUTTON2: @@ -40,8 +42,11 @@ bool combo_should_trigger(uint16_t combo_index, combo_t *combo, uint16_t keycode case MOUSE_BUTTON5: case MOUSE_DRGTOG: if ( get_highest_layer(layer_state) > _DEFAULT_LAYER_1 ) return false; + break; + + default: + return true; } - return true; } \ No newline at end of file