From 10f33a3e484e24065ed5eaab1c56c35156bace89 Mon Sep 17 00:00:00 2001 From: tmk Date: Sun, 31 Mar 2013 22:47:19 +0900 Subject: Remove ACT_KEYMAP and ACT_OVERLAY - Remove ACT_OVERLAY - Rename ACT_KEYMAP to ACT_LAYER - Add ACT_LAYER_BITOP --- common/command.c | 1 - 1 file changed, 1 deletion(-) (limited to 'common/command.c') diff --git a/common/command.c b/common/command.c index b29333883e..e197a8f80a 100644 --- a/common/command.c +++ b/common/command.c @@ -575,6 +575,5 @@ static void switch_default_layer(uint8_t layer) { print("switch_default_layer: "); print_dec(default_layer); print(" to "); print_dec(layer); print("\n"); default_layer_set(layer); - overlay_clear(); clear_keyboard(); } -- cgit v1.2.3 From cc8e66754b1a5d0c11985cb0feb51ead49668744 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 2 Apr 2013 16:09:43 +0900 Subject: Refine ACT_LAYER and ACT_LAYER_TAP - Remove ACT_LAYER_BITOP --- common/command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'common/command.c') diff --git a/common/command.c b/common/command.c index e197a8f80a..c954ff02f4 100644 --- a/common/command.c +++ b/common/command.c @@ -573,7 +573,8 @@ static uint8_t numkey2num(uint8_t code) static void switch_default_layer(uint8_t layer) { - print("switch_default_layer: "); print_dec(default_layer); print(" to "); print_dec(layer); print("\n"); + print("switch_default_layer: "); print_dec(biton32(default_layer_state)); default_layer_set(layer); + print(" to "); print_dec(biton32(default_layer_state)); print("\n"); clear_keyboard(); } -- cgit v1.2.3 From c6d88d27956c4b76f8819fcdb076bf94a8f55868 Mon Sep 17 00:00:00 2001 From: tmk Date: Tue, 2 Apr 2013 17:44:24 +0900 Subject: Rename file layer_switch to action_layer --- common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/command.c') diff --git a/common/command.c b/common/command.c index c954ff02f4..dc06c6da35 100644 --- a/common/command.c +++ b/common/command.c @@ -26,7 +26,7 @@ along with this program. If not, see . #include "timer.h" #include "keyboard.h" #include "bootloader.h" -#include "layer_switch.h" +#include "action_layer.h" #include "eeconfig.h" #include "sleep_led.h" #include "led.h" -- cgit v1.2.3 From f9a7e224a4de28e52d268c801dc12c8de8c79b3f Mon Sep 17 00:00:00 2001 From: tmk Date: Thu, 4 Apr 2013 16:29:44 +0900 Subject: Fix ACT_MODS action and switch_default_layer command --- common/command.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common/command.c') diff --git a/common/command.c b/common/command.c index dc06c6da35..3a1fcb186e 100644 --- a/common/command.c +++ b/common/command.c @@ -574,7 +574,7 @@ static uint8_t numkey2num(uint8_t code) static void switch_default_layer(uint8_t layer) { print("switch_default_layer: "); print_dec(biton32(default_layer_state)); + print(" to "); print_dec(layer); print("\n"); default_layer_set(layer); - print(" to "); print_dec(biton32(default_layer_state)); print("\n"); clear_keyboard(); } -- cgit v1.2.3