diff options
author | Joe Wasson <jwasson+github@gmail.com> | 2018-03-11 22:07:02 +0100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2018-03-16 21:33:43 +0100 |
commit | 7230923b051bdb32bea19c3d732fa1fbc4883a68 (patch) | |
tree | cb2ebffc0c730d6e34ffd8cf33d3d361309d5a2e /keyboards/planck | |
parent | 687c7070a14108f69623bc925496444c4eadcf6a (diff) | |
download | qmk_firmware-7230923b051bdb32bea19c3d732fa1fbc4883a68.tar.gz qmk_firmware-7230923b051bdb32bea19c3d732fa1fbc4883a68.tar.xz |
Rename ONEHAND_ENABLE to SWAP_HANDS_ENABLE for consistency
Diffstat (limited to 'keyboards/planck')
-rw-r--r-- | keyboards/planck/keymaps/experimental/rules.mk | 2 | ||||
-rw-r--r-- | keyboards/planck/planck.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/planck/keymaps/experimental/rules.mk b/keyboards/planck/keymaps/experimental/rules.mk index 29108e522..b135dfca0 100644 --- a/keyboards/planck/keymaps/experimental/rules.mk +++ b/keyboards/planck/keymaps/experimental/rules.mk @@ -16,7 +16,7 @@ AUDIO_ENABLE = no # Audio output on port C6 UNICODE_ENABLE = no # Unicode BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. Do not enable this with audio at the same time. -ONEHAND_ENABLE = yes # Enable one-hand typing +SWAP_HANDS_ENABLE = yes # Enable one-hand typing STENO_ENABLE = yes # Enable TX Bolt protocol for Stenography, requires VIRTSER and may not work with mouse keys # Do not enable SLEEP_LED_ENABLE. it uses the same timer as BACKLIGHT_ENABLE diff --git a/keyboards/planck/planck.c b/keyboards/planck/planck.c index 1d2f91bc5..6ac789cbe 100644 --- a/keyboards/planck/planck.c +++ b/keyboards/planck/planck.c @@ -1,6 +1,6 @@ #include "planck.h" -#ifdef ONEHAND_ENABLE +#ifdef SWAP_HANDS_ENABLE __attribute__ ((weak)) const keypos_t hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { {{11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, |