diff options
| author | Joel Challis <git@zvecr.com> | 2021-08-09 19:46:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 19:46:03 +0100 |
| commit | 7c691d82bf21f8bdbc98d4193d2ad3956528c25a (patch) | |
| tree | 2c551947b3e133e008baea8e2aae96ad81d97ff9 | |
| parent | 2617ac604151739faceb43d1736efc74386d1486 (diff) | |
| download | qmk_firmware-7c691d82bf21f8bdbc98d4193d2ad3956528c25a.tar.gz qmk_firmware-7c691d82bf21f8bdbc98d4193d2ad3956528c25a.zip | |
Remove ONEHAND_ENABLE (#13920)
| -rw-r--r-- | keyboards/ergodox_ez/keymaps/bpruitt-goddard/rules.mk | 2 | ||||
| -rw-r--r-- | keyboards/redox_w/redox_w.c | 2 | ||||
| -rw-r--r-- | keyboards/vitamins_included/vitamins_included.c | 2 | ||||
| -rw-r--r-- | show_options.mk | 1 | ||||
| -rw-r--r-- | tmk_core/common.mk | 3 |
5 files changed, 3 insertions, 7 deletions
diff --git a/keyboards/ergodox_ez/keymaps/bpruitt-goddard/rules.mk b/keyboards/ergodox_ez/keymaps/bpruitt-goddard/rules.mk index 5036ed7fe..a7f524fa4 100644 --- a/keyboards/ergodox_ez/keymaps/bpruitt-goddard/rules.mk +++ b/keyboards/ergodox_ez/keymaps/bpruitt-goddard/rules.mk | |||
| @@ -2,7 +2,7 @@ MOUSEKEY_ENABLE = yes # Mouse keys | |||
| 2 | EXTRAKEY_ENABLE = yes # Audio control and System control | 2 | EXTRAKEY_ENABLE = yes # Audio control and System control |
| 3 | COMMAND_ENABLE = yes # Commands for debug and configuration | 3 | COMMAND_ENABLE = yes # Commands for debug and configuration |
| 4 | NKRO_ENABLE = yes # USB Nkey Rollover - for issues, see github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work | 4 | NKRO_ENABLE = yes # USB Nkey Rollover - for issues, see github.com/tmk/tmk_keyboard/wiki/FAQ#nkro-doesnt-work |
| 5 | ONEHAND_ENABLE = yes # Allow swapping hands of keyboard | 5 | SWAP_HANDS_ENABLE = yes # Allow swapping hands of keyboard |
| 6 | KEY_LOCK_ENABLE = yes # Enable the KC_LOCK key | 6 | KEY_LOCK_ENABLE = yes # Enable the KC_LOCK key |
| 7 | TAP_DANCE_ENABLE = yes # Enable the tap dance feature. | 7 | TAP_DANCE_ENABLE = yes # Enable the tap dance feature. |
| 8 | CONSOLE_ENABLE = yes # Console for debug | 8 | CONSOLE_ENABLE = yes # Console for debug |
diff --git a/keyboards/redox_w/redox_w.c b/keyboards/redox_w/redox_w.c index a94e731b3..5b8634453 100644 --- a/keyboards/redox_w/redox_w.c +++ b/keyboards/redox_w/redox_w.c | |||
| @@ -15,7 +15,7 @@ void matrix_init_kb(void) { | |||
| 15 | led_init(); | 15 | led_init(); |
| 16 | } | 16 | } |
| 17 | 17 | ||
| 18 | #ifdef ONEHAND_ENABLE | 18 | #ifdef SWAP_HANDS_ENABLE |
| 19 | __attribute__ ((weak)) | 19 | __attribute__ ((weak)) |
| 20 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | 20 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { |
| 21 | {{13, 0}, {12, 0}, {11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, | 21 | {{13, 0}, {12, 0}, {11, 0}, {10, 0}, {9, 0}, {8, 0}, {7, 0}, {6, 0}, {5, 0}, {4, 0}, {3, 0}, {2, 0}, {1, 0}, {0, 0}}, |
diff --git a/keyboards/vitamins_included/vitamins_included.c b/keyboards/vitamins_included/vitamins_included.c index 078f93e0e..e83c81633 100644 --- a/keyboards/vitamins_included/vitamins_included.c +++ b/keyboards/vitamins_included/vitamins_included.c | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | #include QMK_KEYBOARD_H | 1 | #include QMK_KEYBOARD_H |
| 2 | 2 | ||
| 3 | #ifdef ONEHAND_ENABLE | 3 | #ifdef SWAP_HANDS_ENABLE |
| 4 | __attribute__ ((weak)) | 4 | __attribute__ ((weak)) |
| 5 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { | 5 | const keypos_t PROGMEM hand_swap_config[MATRIX_ROWS][MATRIX_COLS] = { |
| 6 | 6 | ||
diff --git a/show_options.mk b/show_options.mk index 31375d112..8aed634da 100644 --- a/show_options.mk +++ b/show_options.mk | |||
| @@ -69,7 +69,6 @@ OTHER_OPTION_NAMES = \ | |||
| 69 | KEYLOGGER_ENABLE \ | 69 | KEYLOGGER_ENABLE \ |
| 70 | LCD_BACKLIGHT_ENABLE \ | 70 | LCD_BACKLIGHT_ENABLE \ |
| 71 | MACROS_ENABLED \ | 71 | MACROS_ENABLED \ |
| 72 | ONEHAND_ENABLE \ | ||
| 73 | PS2_MOUSE_ENABLE \ | 72 | PS2_MOUSE_ENABLE \ |
| 74 | RAW_ENABLE \ | 73 | RAW_ENABLE \ |
| 75 | SWAP_HANDS_ENABLE \ | 74 | SWAP_HANDS_ENABLE \ |
diff --git a/tmk_core/common.mk b/tmk_core/common.mk index bd4142364..6c8cf6935 100644 --- a/tmk_core/common.mk +++ b/tmk_core/common.mk | |||
| @@ -98,9 +98,6 @@ ifeq ($(strip $(BLUETOOTH)), RN42) | |||
| 98 | TMK_COMMON_DEFS += -DNO_USB_STARTUP_CHECK | 98 | TMK_COMMON_DEFS += -DNO_USB_STARTUP_CHECK |
| 99 | endif | 99 | endif |
| 100 | 100 | ||
| 101 | ifeq ($(strip $(ONEHAND_ENABLE)), yes) | ||
| 102 | SWAP_HANDS_ENABLE = yes # backwards compatibility | ||
| 103 | endif | ||
| 104 | ifeq ($(strip $(SWAP_HANDS_ENABLE)), yes) | 101 | ifeq ($(strip $(SWAP_HANDS_ENABLE)), yes) |
| 105 | TMK_COMMON_DEFS += -DSWAP_HANDS_ENABLE | 102 | TMK_COMMON_DEFS += -DSWAP_HANDS_ENABLE |
| 106 | endif | 103 | endif |
