summaryrefslogtreecommitdiff
path: root/keyboards/handwired
diff options
context:
space:
mode:
authorJoe Wasson <jwasson+github@gmail.com>2018-03-11 14:07:02 -0700
committerJack Humbert <jack.humb@gmail.com>2018-03-16 16:33:43 -0400
commit7230923b051bdb32bea19c3d732fa1fbc4883a68 (patch)
treecb2ebffc0c730d6e34ffd8cf33d3d361309d5a2e /keyboards/handwired
parent687c7070a14108f69623bc925496444c4eadcf6a (diff)
Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistency
Diffstat (limited to 'keyboards/handwired')
-rw-r--r--keyboards/handwired/dactyl/dactyl.c2
-rw-r--r--keyboards/handwired/dactyl/rules.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/handwired/dactyl/dactyl.c b/keyboards/handwired/dactyl/dactyl.c
index 3f59154fdc..abe3d9d603 100644
--- a/keyboards/handwired/dactyl/dactyl.c
+++ b/keyboards/handwired/dactyl/dactyl.c
@@ -57,7 +57,7 @@ out:
return mcp23018_status;
}
-#ifdef ONEHAND_ENABLE
+#ifdef SWAP_HANDS_ENABLE
__attribute__ ((weak))
// swap-hands action needs a matrix to define the swap
const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = {
diff --git a/keyboards/handwired/dactyl/rules.mk b/keyboards/handwired/dactyl/rules.mk
index 90a29bd2d6..dc25f9c3fb 100644
--- a/keyboards/handwired/dactyl/rules.mk
+++ b/keyboards/handwired/dactyl/rules.mk
@@ -80,7 +80,7 @@ COMMAND_ENABLE = no # Commands for debug and configuration
CUSTOM_MATRIX = yes # Custom matrix file for the Dactyl
NKRO_ENABLE = yes # USB Nkey Rollover
UNICODE_ENABLE = yes # Unicode
-ONEHAND_ENABLE = yes # Allow swapping hands of keyboard
+SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard
SLEEP_LED_ENABLE = no
API_SYSEX_ENABLE = no
RGBLIGHT_ENABLE = no