aboutsummaryrefslogtreecommitdiff
path: root/common/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/action.c')
-rw-r--r--common/action.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/action.c b/common/action.c
index 6d5336752..aadf5e16e 100644
--- a/common/action.c
+++ b/common/action.c
@@ -358,6 +358,7 @@ static void process_action(keyrecord_t *record)
358 layer_switch(action.layer.val); 358 layer_switch(action.layer.val);
359 } 359 }
360 else { 360 else {
361 // NOTE: This is needed by legacy keymap support
361 layer_switch(default_layer); 362 layer_switch(default_layer);
362 } 363 }
363 break; 364 break;
@@ -421,7 +422,7 @@ static void process_action(keyrecord_t *record)
421 unregister_code(action.layer.code); 422 unregister_code(action.layer.code);
422 } else { 423 } else {
423 //debug("LAYER_PRESSED: No tap: NO ACTION\n"); 424 //debug("LAYER_PRESSED: No tap: NO ACTION\n");
424//TODO: this is ok? 425 // NOTE: This is needed by legacy keymap support
425 debug("LAYER_PRESSED: No tap: return to default layer\n"); 426 debug("LAYER_PRESSED: No tap: return to default layer\n");
426 layer_switch(default_layer); 427 layer_switch(default_layer);
427 } 428 }