diff options
author | tmk <nobody@nowhere> | 2013-02-12 17:12:04 +0900 |
---|---|---|
committer | tmk <nobody@nowhere> | 2013-02-12 17:12:04 +0900 |
commit | 77af88042a0622946d7af7aff489cc6e18469104 (patch) | |
tree | 90e2b9fb5448e89bf103afc5e8ca2d93ad64a4bc /common/action.c | |
parent | 0c52ee59f08cead9b4906dbbd3aff86b103171fe (diff) |
Change ACTION_LAYER_SET_LAYER behaviour
Diffstat (limited to 'common/action.c')
-rw-r--r-- | common/action.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/action.c b/common/action.c index 6d5336752e..aadf5e16e8 100644 --- a/common/action.c +++ b/common/action.c @@ -358,6 +358,7 @@ static void process_action(keyrecord_t *record) layer_switch(action.layer.val); } else { + // NOTE: This is needed by legacy keymap support layer_switch(default_layer); } break; @@ -421,7 +422,7 @@ static void process_action(keyrecord_t *record) unregister_code(action.layer.code); } else { //debug("LAYER_PRESSED: No tap: NO ACTION\n"); -//TODO: this is ok? + // NOTE: This is needed by legacy keymap support debug("LAYER_PRESSED: No tap: return to default layer\n"); layer_switch(default_layer); } |