diff options
45 files changed, 211 insertions, 1 deletions
diff --git a/build_keyboard.mk b/build_keyboard.mk index 2b725ea68..fdc17c907 100644 --- a/build_keyboard.mk +++ b/build_keyboard.mk | |||
| @@ -283,6 +283,9 @@ ifneq ("$(wildcard $(USER_PATH)/config.h)","") | |||
| 283 | CONFIG_H += $(USER_PATH)/config.h | 283 | CONFIG_H += $(USER_PATH)/config.h |
| 284 | endif | 284 | endif |
| 285 | 285 | ||
| 286 | # Disable features that a keyboard doesn't support | ||
| 287 | -include disable_features.mk | ||
| 288 | |||
| 286 | # Object files directory | 289 | # Object files directory |
| 287 | # To put object files in current directory, use a dot (.), do NOT make | 290 | # To put object files in current directory, use a dot (.), do NOT make |
| 288 | # this an empty or blank macro! | 291 | # this an empty or blank macro! |
diff --git a/disable_features.mk b/disable_features.mk new file mode 100644 index 000000000..84d8316ea --- /dev/null +++ b/disable_features.mk | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | # Unconditionally disable features that a keyboard advertises it doesn't support | ||
| 2 | |||
| 3 | FEATURE_NAMES := | ||
| 4 | FEATURE_NAMES += ADAFRUIT_BLE | ||
| 5 | FEATURE_NAMES += AUDIO | ||
| 6 | FEATURE_NAMES += BACKLIGHT | ||
| 7 | FEATURE_NAMES += BLUETOOTH | ||
| 8 | FEATURE_NAMES += DIP_SWITCH | ||
| 9 | FEATURE_NAMES += DYNAMIC_KEYMAP | ||
| 10 | FEATURE_NAMES += ENCODER | ||
| 11 | FEATURE_NAMES += HAPTIC | ||
| 12 | FEATURE_NAMES += HD44780 | ||
| 13 | FEATURE_NAMES += IOS_DEVICE | ||
| 14 | FEATURE_NAMES += LCD_BACKLIGHT | ||
| 15 | FEATURE_NAMES += LCD | ||
| 16 | FEATURE_NAMES += OLED | ||
| 17 | FEATURE_NAMES += POINTING_DEVICE | ||
| 18 | FEATURE_NAMES += PRINTING | ||
| 19 | FEATURE_NAMES += PS2_MOUSE | ||
| 20 | FEATURE_NAMES += RGBLIGHT | ||
| 21 | FEATURE_NAMES += RGB_MATRIX | ||
| 22 | FEATURE_NAMES += SLEEP_LED | ||
| 23 | FEATURE_NAMES += SERIAL_LINK | ||
| 24 | FEATURE_NAMES += STENO | ||
| 25 | FEATURE_NAMES += SWAP_HANDS | ||
| 26 | FEATURE_NAMES += VISUALIZER | ||
| 27 | FEATURE_NAMES += WATCHDOG | ||
| 28 | FEATURE_NAMES += XT | ||
| 29 | |||
| 30 | $(foreach AFEATURE,$(FEATURE_NAMES),\ | ||
| 31 | $(if $(filter $($(AFEATURE)_SUPPORTED),no),$(eval $(AFEATURE)_ENABLE=no))) | ||
diff --git a/keyboards/40percentclub/4x4/rules.mk b/keyboards/40percentclub/4x4/rules.mk index 08d4b4a40..e092372d7 100644 --- a/keyboards/40percentclub/4x4/rules.mk +++ b/keyboards/40percentclub/4x4/rules.mk | |||
| @@ -31,3 +31,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | 32 | ||
| 33 | LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 ortho_4x16 | 33 | LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 ortho_4x16 |
| 34 | |||
| 35 | # Disable unsupported hardware | ||
| 36 | RGBLIGHT_SUPPORTED = no | ||
| 37 | AUDIO_SUPPORTED = no | ||
| 38 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/40percentclub/gherkin/rules.mk b/keyboards/40percentclub/gherkin/rules.mk index d8c4894a8..db971e00e 100644 --- a/keyboards/40percentclub/gherkin/rules.mk +++ b/keyboards/40percentclub/gherkin/rules.mk | |||
| @@ -26,3 +26,7 @@ AUDIO_ENABLE = no | |||
| 26 | RGBLIGHT_ENABLE = no | 26 | RGBLIGHT_ENABLE = no |
| 27 | 27 | ||
| 28 | LAYOUTS = ortho_3x10 | 28 | LAYOUTS = ortho_3x10 |
| 29 | |||
| 30 | # Disable unsupported hardware | ||
| 31 | RGBLIGHT_SUPPORTED = no | ||
| 32 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/40percentclub/nori/rules.mk b/keyboards/40percentclub/nori/rules.mk index 5fbdb3ac0..df09b0bde 100644 --- a/keyboards/40percentclub/nori/rules.mk +++ b/keyboards/40percentclub/nori/rules.mk | |||
| @@ -32,3 +32,6 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | 33 | ||
| 34 | LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 | 34 | LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 |
| 35 | |||
| 36 | # Disable unsupported hardware | ||
| 37 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/acheron/shark/rules.mk b/keyboards/acheron/shark/rules.mk index 1bd963c81..71305883b 100644 --- a/keyboards/acheron/shark/rules.mk +++ b/keyboards/acheron/shark/rules.mk | |||
| @@ -22,3 +22,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 22 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 22 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 23 | 23 | ||
| 24 | LAYOUTS = ortho_4x12 | 24 | LAYOUTS = ortho_4x12 |
| 25 | |||
| 26 | # Disable unsupported hardware | ||
| 27 | RGBLIGHT_SUPPORTED = no | ||
| 28 | AUDIO_SUPPORTED = no | ||
| 29 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/amjkeyboard/amj66/rules.mk b/keyboards/amjkeyboard/amj66/rules.mk index b5d3f1ee3..e65c6c1c7 100644 --- a/keyboards/amjkeyboard/amj66/rules.mk +++ b/keyboards/amjkeyboard/amj66/rules.mk | |||
| @@ -31,3 +31,7 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | 32 | ||
| 33 | LAYOUTS = 66_ansi 66_iso | 33 | LAYOUTS = 66_ansi 66_iso |
| 34 | |||
| 35 | # Disable unsupported hardware | ||
| 36 | RGBLIGHT_SUPPORTED = no | ||
| 37 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/boardsource/4x12/rules.mk b/keyboards/boardsource/4x12/rules.mk index 0999b9d62..dea0aa2a9 100644 --- a/keyboards/boardsource/4x12/rules.mk +++ b/keyboards/boardsource/4x12/rules.mk | |||
| @@ -30,3 +30,8 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth with the Adafruit EZ-Key HID | |||
| 30 | AUDIO_ENABLE = no # Audio output on port C6 | 30 | AUDIO_ENABLE = no # Audio output on port C6 |
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | LAYOUTS = ortho_4x12 | 32 | LAYOUTS = ortho_4x12 |
| 33 | |||
| 34 | # Disable unsupported hardware | ||
| 35 | RGBLIGHT_SUPPORTED = no | ||
| 36 | AUDIO_SUPPORTED = no | ||
| 37 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/boardsource/5x12/rules.mk b/keyboards/boardsource/5x12/rules.mk index f26c7fa80..de6f7bd3c 100644 --- a/keyboards/boardsource/5x12/rules.mk +++ b/keyboards/boardsource/5x12/rules.mk | |||
| @@ -31,3 +31,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | 32 | ||
| 33 | LAYOUTS = ortho_5x12 | 33 | LAYOUTS = ortho_5x12 |
| 34 | |||
| 35 | # Disable unsupported hardware | ||
| 36 | RGBLIGHT_SUPPORTED = no | ||
| 37 | AUDIO_SUPPORTED = no | ||
| 38 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/chimera_ls/rules.mk b/keyboards/chimera_ls/rules.mk index ecab7133a..162e06aaf 100644 --- a/keyboards/chimera_ls/rules.mk +++ b/keyboards/chimera_ls/rules.mk | |||
| @@ -38,3 +38,8 @@ CHIMERA_LS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | |||
| 38 | SRC = matrix.c | 38 | SRC = matrix.c |
| 39 | 39 | ||
| 40 | LAYOUTS = ortho_4x12 | 40 | LAYOUTS = ortho_4x12 |
| 41 | |||
| 42 | # Disable unsupported hardware | ||
| 43 | RGBLIGHT_SUPPORTED = no | ||
| 44 | AUDIO_SUPPORTED = no | ||
| 45 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/clueboard/66_hotswap/gen1/rules.mk b/keyboards/clueboard/66_hotswap/gen1/rules.mk index 0f5f71ac6..a582144d3 100644 --- a/keyboards/clueboard/66_hotswap/gen1/rules.mk +++ b/keyboards/clueboard/66_hotswap/gen1/rules.mk | |||
| @@ -18,4 +18,6 @@ NKRO_ENABLE = yes # USB Nkey Rollover | |||
| 18 | AUDIO_ENABLE = yes | 18 | AUDIO_ENABLE = yes |
| 19 | # SERIAL_LINK_ENABLE = yes | 19 | # SERIAL_LINK_ENABLE = yes |
| 20 | 20 | ||
| 21 | LAYOUTS = 66_ansi | 21 | # project specific files |
| 22 | SRC = led.c | ||
| 23 | LAYOUTS += 66_ansi | ||
diff --git a/keyboards/contra/rules.mk b/keyboards/contra/rules.mk index de553f57d..5894ca132 100755 --- a/keyboards/contra/rules.mk +++ b/keyboards/contra/rules.mk | |||
| @@ -29,3 +29,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 29 | 29 | ||
| 30 | LAYOUTS = planck_mit ortho_4x12 | 30 | LAYOUTS = planck_mit ortho_4x12 |
| 31 | LAYOUTS_HAS_RGB = no | 31 | LAYOUTS_HAS_RGB = no |
| 32 | |||
| 33 | # Disable unsupported hardware | ||
| 34 | RGBLIGHT_SUPPORTED = no | ||
| 35 | AUDIO_SUPPORTED = no | ||
| 36 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/crkbd/rev1/legacy/rules.mk b/keyboards/crkbd/rev1/legacy/rules.mk index 2bef24297..94c5fe024 100644 --- a/keyboards/crkbd/rev1/legacy/rules.mk +++ b/keyboards/crkbd/rev1/legacy/rules.mk | |||
| @@ -5,3 +5,6 @@ SRC += matrix.c \ | |||
| 5 | split_scomm.c | 5 | split_scomm.c |
| 6 | 6 | ||
| 7 | QUANTUM_LIB_SRC += i2c.c serial.c | 7 | QUANTUM_LIB_SRC += i2c.c serial.c |
| 8 | |||
| 9 | # Disable unsupported hardware | ||
| 10 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/dm9records/plaid/rules.mk b/keyboards/dm9records/plaid/rules.mk index 84075f0f0..315af2693 100644 --- a/keyboards/dm9records/plaid/rules.mk +++ b/keyboards/dm9records/plaid/rules.mk | |||
| @@ -33,3 +33,8 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 33 | 33 | ||
| 34 | LAYOUTS = ortho_4x12 planck_mit | 34 | LAYOUTS = ortho_4x12 planck_mit |
| 35 | LAYOUTS_HAS_RGB = no | 35 | LAYOUTS_HAS_RGB = no |
| 36 | |||
| 37 | # Disable unsupported hardware | ||
| 38 | RGBLIGHT_SUPPORTED = no | ||
| 39 | AUDIO_SUPPORTED = no | ||
| 40 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/dm9records/tartan/rules.mk b/keyboards/dm9records/tartan/rules.mk index de2f52d42..241f8404f 100644 --- a/keyboards/dm9records/tartan/rules.mk +++ b/keyboards/dm9records/tartan/rules.mk | |||
| @@ -33,3 +33,8 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 33 | 33 | ||
| 34 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_iso_split_bs_rshift | 34 | LAYOUTS = 60_ansi 60_ansi_split_bs_rshift 60_iso 60_iso_split_bs_rshift |
| 35 | LAYOUTS_HAS_RGB = no | 35 | LAYOUTS_HAS_RGB = no |
| 36 | |||
| 37 | # Disable unsupported hardware | ||
| 38 | RGBLIGHT_SUPPORTED = no | ||
| 39 | AUDIO_SUPPORTED = no | ||
| 40 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/efreet/rules.mk b/keyboards/efreet/rules.mk index a9a438746..eeacc5199 100644 --- a/keyboards/efreet/rules.mk +++ b/keyboards/efreet/rules.mk | |||
| @@ -22,3 +22,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
| 22 | AUDIO_ENABLE = no # Audio output | 22 | AUDIO_ENABLE = no # Audio output |
| 23 | 23 | ||
| 24 | LAYOUTS = ortho_4x12 planck_mit | 24 | LAYOUTS = ortho_4x12 planck_mit |
| 25 | |||
| 26 | # Disable unsupported hardware | ||
| 27 | RGBLIGHT_SUPPORTED = no | ||
| 28 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/ergodox_ez/rules.mk b/keyboards/ergodox_ez/rules.mk index b94990a96..1000ef786 100644 --- a/keyboards/ergodox_ez/rules.mk +++ b/keyboards/ergodox_ez/rules.mk | |||
| @@ -41,3 +41,7 @@ SRC += matrix.c \ | |||
| 41 | QUANTUM_LIB_SRC += i2c_master.c | 41 | QUANTUM_LIB_SRC += i2c_master.c |
| 42 | 42 | ||
| 43 | LAYOUTS = ergodox | 43 | LAYOUTS = ergodox |
| 44 | |||
| 45 | # Disable unsupported hardware | ||
| 46 | AUDIO_SUPPORTED = no | ||
| 47 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/evyd13/eon40/rules.mk b/keyboards/evyd13/eon40/rules.mk index a1a2f76d4..f4ab408eb 100644 --- a/keyboards/evyd13/eon40/rules.mk +++ b/keyboards/evyd13/eon40/rules.mk | |||
| @@ -34,3 +34,8 @@ ENCODER_ENABLE = yes | |||
| 34 | 34 | ||
| 35 | LAYOUTS = ortho_4x12 planck_mit | 35 | LAYOUTS = ortho_4x12 planck_mit |
| 36 | LAYOUTS_HAS_RGB = no | 36 | LAYOUTS_HAS_RGB = no |
| 37 | |||
| 38 | # Disable unsupported hardware | ||
| 39 | RGBLIGHT_SUPPORTED = no | ||
| 40 | AUDIO_SUPPORTED = no | ||
| 41 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/evyd13/nt660/rules.mk b/keyboards/evyd13/nt660/rules.mk index 9f8f0cd89..9fad88885 100644 --- a/keyboards/evyd13/nt660/rules.mk +++ b/keyboards/evyd13/nt660/rules.mk | |||
| @@ -31,3 +31,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 31 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 32 | 32 | ||
| 33 | LAYOUTS = 66_ansi 66_iso | 33 | LAYOUTS = 66_ansi 66_iso |
| 34 | |||
| 35 | # Disable unsupported hardware | ||
| 36 | RGBLIGHT_SUPPORTED = no | ||
| 37 | AUDIO_SUPPORTED = no | ||
| 38 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/evyd13/pockettype/rules.mk b/keyboards/evyd13/pockettype/rules.mk index 164bf9cef..2b3dc6fc2 100644 --- a/keyboards/evyd13/pockettype/rules.mk +++ b/keyboards/evyd13/pockettype/rules.mk | |||
| @@ -29,3 +29,8 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
| 29 | AUDIO_ENABLE = no # Audio output | 29 | AUDIO_ENABLE = no # Audio output |
| 30 | 30 | ||
| 31 | LAYOUTS = ortho_4x12 | 31 | LAYOUTS = ortho_4x12 |
| 32 | |||
| 33 | # Disable unsupported hardware | ||
| 34 | RGBLIGHT_SUPPORTED = no | ||
| 35 | AUDIO_SUPPORTED = no | ||
| 36 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/fractal/rules.mk b/keyboards/fractal/rules.mk index e5d540e0a..d83deb422 100755 --- a/keyboards/fractal/rules.mk +++ b/keyboards/fractal/rules.mk | |||
| @@ -29,3 +29,8 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 29 | 29 | ||
| 30 | LAYOUTS = ortho_5x12 # preonic_mit | 30 | LAYOUTS = ortho_5x12 # preonic_mit |
| 31 | LAYOUTS_HAS_RGB = no | 31 | LAYOUTS_HAS_RGB = no |
| 32 | |||
| 33 | # Disable unsupported hardware | ||
| 34 | RGBLIGHT_SUPPORTED = no | ||
| 35 | AUDIO_SUPPORTED = no | ||
| 36 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/jj40/rules.mk b/keyboards/jj40/rules.mk index 0a912cfad..579c43220 100644 --- a/keyboards/jj40/rules.mk +++ b/keyboards/jj40/rules.mk | |||
| @@ -33,3 +33,6 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 33 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 34 | 34 | ||
| 35 | LAYOUTS = ortho_4x12 planck_mit | 35 | LAYOUTS = ortho_4x12 planck_mit |
| 36 | |||
| 37 | # Disable unsupported hardware | ||
| 38 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/jnao/rules.mk b/keyboards/jnao/rules.mk index ac8bb366e..6e620b56a 100644 --- a/keyboards/jnao/rules.mk +++ b/keyboards/jnao/rules.mk | |||
| @@ -33,3 +33,7 @@ FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | |||
| 33 | 33 | ||
| 34 | LAYOUTS = ortho_5x12 ortho_4x12 | 34 | LAYOUTS = ortho_5x12 ortho_4x12 |
| 35 | LAYOUTS_HAS_RGB = no | 35 | LAYOUTS_HAS_RGB = no |
| 36 | |||
| 37 | # Disable unsupported hardware | ||
| 38 | RGBLIGHT_SUPPORTED = no | ||
| 39 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/kbdfans/kbd4x/rules.mk b/keyboards/kbdfans/kbd4x/rules.mk index 1e2096924..f4664f8f5 100644 --- a/keyboards/kbdfans/kbd4x/rules.mk +++ b/keyboards/kbdfans/kbd4x/rules.mk | |||
| @@ -32,3 +32,6 @@ AUDIO_ENABLE = no # Audio output on port C6 | |||
| 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches | 32 | FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches |
| 33 | 33 | ||
| 34 | LAYOUTS = ortho_4x12 planck_mit | 34 | LAYOUTS = ortho_4x12 planck_mit |
| 35 | |||
| 36 | # Disable unsupported hardware | ||
| 37 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/keebio/levinson/rev3/rules.mk b/keyboards/keebio/levinson/rev3/rules.mk index bd518d8f2..176c9b97d 100644 --- a/keyboards/keebio/levinson/rev3/rules.mk +++ b/keyboards/keebio/levinson/rev3/rules.mk | |||
| @@ -1 +1,5 @@ | |||
| 1 | BACKLIGHT_ENABLE = yes | 1 | BACKLIGHT_ENABLE = yes |
| 2 | |||
| 3 | # Disable unsupported hardware | ||
| 4 | RGBLIGHT_SUPPORTED = no | ||
| 5 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/keebio/wavelet/rules.mk b/keyboards/keebio/wavelet/rules.mk index b00535b7b..cf4cab56e 100644 --- a/keyboards/keebio/wavelet/rules.mk +++ b/keyboards/keebio/wavelet/rules.mk | |||
| @@ -32,3 +32,6 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 32 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | 32 | SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend |
| 33 | 33 | ||
| 34 | LAYOUTS = ortho_4x12 | 34 | LAYOUTS = ortho_4x12 |
| 35 | |||
| 36 | # Disable unsupported hardware | ||
| 37 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/lazydesigners/dimple/rules.mk b/keyboards/lazydesigners/dimple/rules.mk index 395cd8e9a..5460d7473 100644 --- a/keyboards/lazydesigners/dimple/rules.mk +++ b/keyboards/lazydesigners/dimple/rules.mk | |||
| @@ -20,3 +20,7 @@ EXTRAKEY_ENABLE = yes # Audio control and System control | |||
| 20 | NKRO_ENABLE = yes # USB Nkey Rollover | 20 | NKRO_ENABLE = yes # USB Nkey Rollover |
| 21 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality | 21 | BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality |
| 22 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow | 22 | RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow |
| 23 | |||
| 24 | # Disable unsupported hardware | ||
| 25 | AUDIO_SUPPORTED = no | ||
| 26 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/lets_split/rev2/rules.mk b/keyboards/lets_split/rev2/rules.mk index e69de29bb..271780b75 100644 --- a/keyboards/lets_split/rev2/rules.mk +++ b/keyboards/lets_split/rev2/rules.mk | |||
| @@ -0,0 +1,2 @@ | |||
| 1 | # Disable unsupported hardware | ||
| 2 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/lets_split/sockets/rules.mk b/keyboards/lets_split/sockets/rules.mk index 7ca588615..4174af2d0 100644 --- a/keyboards/lets_split/sockets/rules.mk +++ b/keyboards/lets_split/sockets/rules.mk | |||
| @@ -3,3 +3,6 @@ AUDIO_ENABLE = yes | |||
| 3 | RGBLIGHT_ENABLE = yes #Don't enable this along with I2C | 3 | RGBLIGHT_ENABLE = yes #Don't enable this along with I2C |
| 4 | 4 | ||
| 5 | LTO_ENABLE = yes | 5 | LTO_ENABLE = yes |
| 6 | |||
| 7 | # Disable unsupported hardware | ||
| 8 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/lets_split_eh/eh/rules.mk b/keyboards/lets_split_eh/eh/rules.mk index 31077066a..0c7e1cb04 100644 --- a/keyboards/lets_split_eh/eh/rules.mk +++ b/keyboards/lets_split_eh/eh/rules.mk | |||
| @@ -1,2 +1,5 @@ | |||
| 1 | BACKLIGHT_ENABLE = yes | 1 | BACKLIGHT_ENABLE = yes |
| 2 | RGBLIGHT_ENABLE = yes | 2 | RGBLIGHT_ENABLE = yes |
| 3 | |||
| 4 | # Disable unsupported hardware | ||
| 5 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/mechstudio/ud_40_ortho/rules.mk b/keyboards/mechstudio/ud_40_ortho/rules.mk index 8ae52f196..4593fbf96 100644 --- a/keyboards/mechstudio/ud_40_ortho/rules.mk +++ b/keyboards/mechstudio/ud_40_ortho/rules.mk | |||
| @@ -22,3 +22,7 @@ BLUETOOTH_ENABLE = no # Enable Bluetooth | |||
| 22 | AUDIO_ENABLE = no # Audio output | 22 | AUDIO_ENABLE = no # Audio output |
| 23 | 23 | ||
| 24 | LAYOUTS = ortho_4x12 | 24 | LAYOUTS = ortho_4x12 |
| 25 | |||
| 26 | # Disable unsupported hardware | ||
| 27 | AUDIO_SUPPORTED = no | ||
| 28 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/meira/promicro/rules.mk b/keyboards/meira/promicro/rules.mk index 3c81f1b34..bbb8bda6b 100644 --- a/keyboards/meira/promicro/rules.mk +++ b/keyboards/meira/promicro/rules.mk | |||
| @@ -1 +1,5 @@ | |||
| 1 | BLUETOOTH_ENABLE = no | 1 | BLUETOOTH_ENABLE = no |
| 2 | |||
| 3 | # Disable unsupported hardware | ||
| 4 | RGBLIGHT_SUPPORTED = no | ||
| 5 | AUDIO_SUPPORTED = no | ||
diff --git a/keyboards/montsinger/rebound/rev4/rules.mk b/keyboards/montsinger/rebound/rev4/rules.mk index 075970923..f51017db4 100644 --- a/keyboards/montsinger/rebound/rev4/rules.mk +++ b/keyboards/montsinger/rebound/rev4/rules.mk | |||
| @@ -31,3 +31,7 @@ ENCODER_ENABLE = yes | |||
| 31 | LAYOUTS = ortho_4x12 | 31 | LAYOUTS = ortho_4x12 |
| 32 | LAYOUTS_HAS_RGB = no | 32 | LAYOUTS_HAS_RGB = no |
| 33 | 33 | ||
| 34 | # Disable unsupported hardware | ||
| 35 | RGBLIGHT_SUPPORTED = no | ||
| 36 | AUDIO_SUPPORTED = no | ||
| 37 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/niu_mini/rules.mk b/keyboards/niu_mini/rules.mk index 67548a448..1059ed2f7 100644 --- a/keyboards/niu_mini/rules.mk +++ b/keyboards/niu_mini/rules.mk | |||
| @@ -34,3 +34,7 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend | |||
| 34 | 34 | ||
| 35 | LAYOUTS = ortho_4x12 planck_mit | 35 | LAYOUTS = ortho_4x12 planck_mit |
| 36 | LAYOUTS_HAS_RGB = no | 36 | LAYOUTS_HAS_RGB = no |
| 37 | |||
| 38 | # Disable unsupported hardware | ||
| 39 | AUDIO_SUPPORTED = no | ||
| 40 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/quark/rules.mk b/keyboards/quark/rules.mk index 41e815be5..2fd5d44f9 100644 --- a/keyboards/quark/rules.mk +++ b/keyboards/quark/rules.mk | |||
| @@ -23,3 +23,7 @@ AUDIO_ENABLE = no # Audio output | |||
| 23 | UNICODE_ENABLE = yes # Unicode | 23 | UNICODE_ENABLE = yes # Unicode |
| 24 | 24 | ||
| 25 | LAYOUTS = ortho_4x12 planck_mit | 25 | LAYOUTS = ortho_4x12 planck_mit |
| 26 | |||
| 27 | # Disable unsupported hardware | ||
| 28 | AUDIO_SUPPORTED = no | ||
| 29 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/redox/rules.mk b/keyboards/redox/rules.mk index 8ee269a14..7e91f2353 100644 --- a/keyboards/redox/rules.mk +++ b/keyboards/redox/rules.mk | |||
| @@ -34,3 +34,7 @@ RGBLIGHT_ENABLE = yes # Enable WS2812 RGB underlight. | |||
| 34 | SPLIT_KEYBOARD = yes | 34 | SPLIT_KEYBOARD = yes |
| 35 | 35 | ||
| 36 | DEFAULT_FOLDER = redox/rev1 | 36 | DEFAULT_FOLDER = redox/rev1 |
| 37 | |||
| 38 | # Disable unsupported hardware | ||
| 39 | AUDIO_SUPPORTED = no | ||
| 40 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/rgbkb/zygomorph/rules.mk b/keyboards/rgbkb/zygomorph/rules.mk index 1b27af2ed..fac2e784f 100644 --- a/keyboards/rgbkb/zygomorph/rules.mk +++ b/keyboards/rgbkb/zygomorph/rules.mk | |||
| @@ -36,3 +36,7 @@ SPLIT_KEYBOARD = yes | |||
| 36 | LAYOUTS = ortho_4x12 ortho_5x12 | 36 | LAYOUTS = ortho_4x12 ortho_5x12 |
| 37 | 37 | ||
| 38 | DEFAULT_FOLDER = rgbkb/zygomorph/rev1 | 38 | DEFAULT_FOLDER = rgbkb/zygomorph/rev1 |
| 39 | |||
| 40 | # Disable unsupported hardware | ||
| 41 | AUDIO_SUPPORTED = no | ||
| 42 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/signum/3_0/elitec/rules.mk b/keyboards/signum/3_0/elitec/rules.mk index 436c5f0ce..6d7266c1a 100644 --- a/keyboards/signum/3_0/elitec/rules.mk +++ b/keyboards/signum/3_0/elitec/rules.mk | |||
| @@ -28,3 +28,8 @@ RGBLIGHT_ENABLE = no | |||
| 28 | UNICODEMAP_ENABLE = no | 28 | UNICODEMAP_ENABLE = no |
| 29 | 29 | ||
| 30 | LAYOUTS = ortho_4x12 | 30 | LAYOUTS = ortho_4x12 |
| 31 | |||
| 32 | # Disable unsupported hardware | ||
| 33 | RGBLIGHT_SUPPORTED = no | ||
| 34 | AUDIO_SUPPORTED = no | ||
| 35 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/spaceman/pancake/feather/rules.mk b/keyboards/spaceman/pancake/feather/rules.mk index a7331959c..f9f172695 100644 --- a/keyboards/spaceman/pancake/feather/rules.mk +++ b/keyboards/spaceman/pancake/feather/rules.mk | |||
| @@ -30,3 +30,8 @@ AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expans | |||
| 30 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. | 30 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. |
| 31 | 31 | ||
| 32 | LAYOUTS = ortho_4x12 planck_mit | 32 | LAYOUTS = ortho_4x12 planck_mit |
| 33 | |||
| 34 | # Disable unsupported hardware | ||
| 35 | RGBLIGHT_SUPPORTED = no | ||
| 36 | AUDIO_SUPPORTED = no | ||
| 37 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/spaceman/pancake/promicro/rules.mk b/keyboards/spaceman/pancake/promicro/rules.mk index 09daaf4da..407ae090f 100644 --- a/keyboards/spaceman/pancake/promicro/rules.mk +++ b/keyboards/spaceman/pancake/promicro/rules.mk | |||
| @@ -26,3 +26,8 @@ AUDIO_ENABLE = no # This can be enabled if a speaker is connected to the expans | |||
| 26 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. | 26 | RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. |
| 27 | 27 | ||
| 28 | LAYOUTS = ortho_4x12 planck_mit | 28 | LAYOUTS = ortho_4x12 planck_mit |
| 29 | |||
| 30 | # Disable unsupported hardware | ||
| 31 | RGBLIGHT_SUPPORTED = no | ||
| 32 | AUDIO_SUPPORTED = no | ||
| 33 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/telophase/rules.mk b/keyboards/telophase/rules.mk index 240a89e85..f2ac0adb6 100644 --- a/keyboards/telophase/rules.mk +++ b/keyboards/telophase/rules.mk | |||
| @@ -39,3 +39,8 @@ MITOSIS_UPLOAD_COMMAND = while [ ! -r $(USB) ]; do sleep 1; done; \ | |||
| 39 | 39 | ||
| 40 | # # project specific files | 40 | # # project specific files |
| 41 | SRC = matrix.c | 41 | SRC = matrix.c |
| 42 | |||
| 43 | # Disable unsupported hardware | ||
| 44 | RGBLIGHT_SUPPORTED = no | ||
| 45 | AUDIO_SUPPORTED = no | ||
| 46 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/vitamins_included/rev2/rules.mk b/keyboards/vitamins_included/rev2/rules.mk index bacfbea39..3d4caba9c 100644 --- a/keyboards/vitamins_included/rev2/rules.mk +++ b/keyboards/vitamins_included/rev2/rules.mk | |||
| @@ -9,3 +9,6 @@ | |||
| 9 | BOOTLOADER = qmk-dfu | 9 | BOOTLOADER = qmk-dfu |
| 10 | 10 | ||
| 11 | SPLIT_KEYBOARD = yes | 11 | SPLIT_KEYBOARD = yes |
| 12 | |||
| 13 | # Disable unsupported hardware | ||
| 14 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/zlant/rules.mk b/keyboards/zlant/rules.mk index 5221b4e33..5daad3db2 100755 --- a/keyboards/zlant/rules.mk +++ b/keyboards/zlant/rules.mk | |||
| @@ -26,3 +26,7 @@ AUDIO_ENABLE = no | |||
| 26 | RGBLIGHT_ENABLE = yes | 26 | RGBLIGHT_ENABLE = yes |
| 27 | 27 | ||
| 28 | LAYOUTS = ortho_4x12 planck_mit | 28 | LAYOUTS = ortho_4x12 planck_mit |
| 29 | |||
| 30 | # Disable unsupported hardware | ||
| 31 | AUDIO_SUPPORTED = no | ||
| 32 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/zvecr/split_blackpill/rules.mk b/keyboards/zvecr/split_blackpill/rules.mk index 55bca894e..822dd246d 100644 --- a/keyboards/zvecr/split_blackpill/rules.mk +++ b/keyboards/zvecr/split_blackpill/rules.mk | |||
| @@ -28,3 +28,7 @@ SERIAL_DRIVER = usart | |||
| 28 | WS2812_DRIVER = pwm | 28 | WS2812_DRIVER = pwm |
| 29 | 29 | ||
| 30 | LAYOUTS = ortho_4x12 | 30 | LAYOUTS = ortho_4x12 |
| 31 | |||
| 32 | # Disable unsupported hardware | ||
| 33 | AUDIO_SUPPORTED = no | ||
| 34 | BACKLIGHT_SUPPORTED = no | ||
diff --git a/keyboards/zvecr/zv48/f401/rules.mk b/keyboards/zvecr/zv48/f401/rules.mk index 950442af9..a087a1cc7 100644 --- a/keyboards/zvecr/zv48/f401/rules.mk +++ b/keyboards/zvecr/zv48/f401/rules.mk | |||
| @@ -3,3 +3,7 @@ MCU = STM32F401 | |||
| 3 | 3 | ||
| 4 | # Address of the bootloader in system memory | 4 | # Address of the bootloader in system memory |
| 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 | 5 | STM32_BOOTLOADER_ADDRESS = 0x1FFF0000 |
| 6 | |||
| 7 | # Disable unsupported hardware | ||
| 8 | AUDIO_SUPPORTED = no | ||
| 9 | BACKLIGHT_SUPPORTED = no | ||
