Fixed bugs

- fixed duplciate defines for KLOR LAYOUT
- Typo in qmk.json
This commit is contained in:
Victor 2024-05-15 23:44:17 -05:00
parent 15e8c45d15
commit f07b0203d0
Failed to generate hash of commit
5 changed files with 11 additions and 9 deletions

View file

@ -11,4 +11,4 @@ HAPTIC_ENABLE = no
RGB_MATRIX_ENABLE = no
# Choose your layout
KLOR_LAYOUT = polydactyl
KLOR_CONFIG = polydactyl

View file

@ -11,4 +11,4 @@ HAPTIC_ENABLE = yes
RGB_MATRIX_ENABLE = yes
# Choose your layout
KLOR_LAYOUT = saegewerk
KLOR_CONFIG = saegewerk

View file

@ -1,6 +1,5 @@
# override userspace defaults
# override keyboard defaults
# keyboards\klor\info.json
# keyboards\klor\rules.mk
@ -9,3 +8,6 @@ AUDIO_ENABLE = yes
MUSIC_ENABLE = yes
HAPTIC_ENABLE = yes
RGB_MATRIX_ENABLE = yes
# Choose your layout
KLOR_CONFIG = saegewerk

View file

@ -1,9 +1,9 @@
VALID_KLOR_LAYOUTS := polydactyl konrad yubitsume saegewerk
VALID_KLOR_CONFIG := polydactyl konrad yubitsume saegewerk
ifeq ($(filter $(KLOR_LAYOUT),$(VALID_KLOR_LAYOUTS)),)
$(call CATASTROPHIC_ERROR,Invalid KLOR_LAYOUT,KLOR_LAYOUT="$(KLOR_LAYOUT)" is not a valid KLOR Layout)
ifeq ($(filter $(KLOR_CONFIG),$(VALID_KLOR_CONFIG)),)
$(call CATASTROPHIC_ERROR,Invalid KLOR_LAYOUT,KLOR_LAYOUT="$(KLOR_CONFIG)" is not a valid KLOR Layout)
else
OPT_DEFS += -DKLOR_$(strip $(shell echo $(KLOR_LAYOUT) | tr '[:lower:]' '[:upper:]'))
OPT_DEFS += -DKLOR_$(strip $(shell echo $(KLOR_CONFIG) | tr '[:lower:]' '[:upper:]'))
endif
# Turn off features for AVR Processors due to memory size

View file

@ -9,7 +9,7 @@
["bluebell/swoop", "t4corun"],
["barbellboards/rollow", "t4corun"],
["klor/2040", "t4corun"],
["klor", "default"],fd
["klor", "default"],
["klor/2040", "default"],
["klor/2040", "saegewerk"]