aboutsummaryrefslogtreecommitdiff
path: root/common/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/action.c')
-rw-r--r--common/action.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/common/action.c b/common/action.c
index 815931548..db31613bf 100644
--- a/common/action.c
+++ b/common/action.c
@@ -12,15 +12,7 @@
12 12
13static void process(keyrecord_t *record); 13static void process(keyrecord_t *record);
14 14
15void test_func(keyevent_t event, uint8_t opt) 15// TODO
16{
17 if (event.pressed) {
18 debug("test_func:pressed: "); debug_hex(opt); debug("\n");
19 } else {
20 debug("test_func:released: "); debug_hex(opt); debug("\n");
21 }
22}
23
24/* layer */ 16/* layer */
25uint8_t default_layer = 0; 17uint8_t default_layer = 0;
26uint8_t current_layer = 0; 18uint8_t current_layer = 0;
@@ -570,7 +562,6 @@ static void process(keyrecord_t *record)
570 break; 562 break;
571 case ACT_FUNCTION: 563 case ACT_FUNCTION:
572 action_call_function(event, action.func.id); 564 action_call_function(event, action.func.id);
573 //test_func(event, action.func.opt);
574 break; 565 break;
575 default: 566 default:
576 break; 567 break;