aboutsummaryrefslogtreecommitdiff
path: root/tmk_core/common/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r--tmk_core/common/action.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index dd3a5b3ee..947e5118f 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -64,7 +64,7 @@ void action_exec(keyevent_t event)
64 fauxclicky_check(); 64 fauxclicky_check();
65#endif 65#endif
66 66
67#ifdef ONEHAND_ENABLE 67#ifdef SWAP_HANDS_ENABLE
68 if (!IS_NOEVENT(event)) { 68 if (!IS_NOEVENT(event)) {
69 process_hand_swap(&event); 69 process_hand_swap(&event);
70 } 70 }
@@ -91,7 +91,7 @@ void action_exec(keyevent_t event)
91#endif 91#endif
92} 92}
93 93
94#ifdef ONEHAND_ENABLE 94#ifdef SWAP_HANDS_ENABLE
95bool swap_hands = false; 95bool swap_hands = false;
96 96
97void process_hand_swap(keyevent_t *event) { 97void process_hand_swap(keyevent_t *event) {
@@ -524,7 +524,7 @@ void process_action(keyrecord_t *record, action_t action)
524#endif 524#endif
525 case ACT_COMMAND: 525 case ACT_COMMAND:
526 break; 526 break;
527#ifdef ONEHAND_ENABLE 527#ifdef SWAP_HANDS_ENABLE
528 case ACT_SWAP_HANDS: 528 case ACT_SWAP_HANDS:
529 switch (action.swap.code) { 529 switch (action.swap.code) {
530 case OP_SH_TOGGLE: 530 case OP_SH_TOGGLE: