diff options
| author | Joel Challis <git@zvecr.com> | 2021-08-09 19:46:18 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-09 19:46:18 +0100 |
| commit | c0628c2820b436550f62af5f6b7fae1f66b0bf8b (patch) | |
| tree | 015f943e8586e27dee0b07bb705732e93ceb53e2 /common_features.mk | |
| parent | 7c691d82bf21f8bdbc98d4193d2ad3956528c25a (diff) | |
| download | qmk_firmware-c0628c2820b436550f62af5f6b7fae1f66b0bf8b.tar.gz qmk_firmware-c0628c2820b436550f62af5f6b7fae1f66b0bf8b.zip | |
Remove backwards compatibility of debounce names (#13877)
* Remove backwards compatibility of debounce names
* Update docs
* Update keyboards/keymaps
Diffstat (limited to 'common_features.mk')
| -rw-r--r-- | common_features.mk | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/common_features.mk b/common_features.mk index 8f41fb96a..e442222ea 100644 --- a/common_features.mk +++ b/common_features.mk | |||
| @@ -514,22 +514,10 @@ ifneq ($(strip $(CUSTOM_MATRIX)), yes) | |||
| 514 | endif | 514 | endif |
| 515 | endif | 515 | endif |
| 516 | 516 | ||
| 517 | # Support for translating old names to new names: | ||
| 518 | ifeq ($(strip $(DEBOUNCE_TYPE)),sym_g) | ||
| 519 | DEBOUNCE_TYPE:=sym_defer_g | ||
| 520 | else ifeq ($(strip $(DEBOUNCE_TYPE)),eager_pk) | ||
| 521 | DEBOUNCE_TYPE:=sym_eager_pk | ||
| 522 | else ifeq ($(strip $(DEBOUNCE_TYPE)),sym_pk) | ||
| 523 | DEBOUNCE_TYPE:=sym_defer_pk | ||
| 524 | else ifeq ($(strip $(DEBOUNCE_TYPE)),eager_pr) | ||
| 525 | DEBOUNCE_TYPE:=sym_eager_pr | ||
| 526 | endif | ||
| 527 | |||
| 528 | DEBOUNCE_DIR:= $(QUANTUM_DIR)/debounce | ||
| 529 | # Debounce Modules. Set DEBOUNCE_TYPE=custom if including one manually. | 517 | # Debounce Modules. Set DEBOUNCE_TYPE=custom if including one manually. |
| 530 | DEBOUNCE_TYPE?= sym_defer_g | 518 | DEBOUNCE_TYPE ?= sym_defer_g |
| 531 | ifneq ($(strip $(DEBOUNCE_TYPE)), custom) | 519 | ifneq ($(strip $(DEBOUNCE_TYPE)), custom) |
| 532 | QUANTUM_SRC += $(DEBOUNCE_DIR)/$(strip $(DEBOUNCE_TYPE)).c | 520 | QUANTUM_SRC += $(QUANTUM_DIR)/debounce/$(strip $(DEBOUNCE_TYPE)).c |
| 533 | endif | 521 | endif |
| 534 | 522 | ||
| 535 | ifeq ($(strip $(SPLIT_KEYBOARD)), yes) | 523 | ifeq ($(strip $(SPLIT_KEYBOARD)), yes) |
