diff options
author | Zach White <skullydazed@gmail.com> | 2021-01-30 13:08:58 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-30 13:08:58 -0800 |
commit | d02c4c5241b92396c883b9efa6f140236e74fa2d (patch) | |
tree | 22493acec4fc67a4623d9b3d49deb21e63abb722 /keyboards/40percentclub | |
parent | 92a787ca4cdecbbb7e2c1394d5192d5fa3dabf6d (diff) |
Add a <FEATURE>_SUPPORTED flag (#9058)
* Initial attempt at allowing keyboards to indicate what features they do not support
* try to use a for loop instead
* Update disable_features.mk
Co-authored-by: Drashna Jaelre <drashna@live.com>
* add a few more features
* remove my test fixture
* disable things that make all:all suggested"
Co-authored-by: Zach White <skullydazed@users.noreply.github.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'keyboards/40percentclub')
-rw-r--r-- | keyboards/40percentclub/4x4/rules.mk | 5 | ||||
-rw-r--r-- | keyboards/40percentclub/gherkin/rules.mk | 4 | ||||
-rw-r--r-- | keyboards/40percentclub/nori/rules.mk | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/keyboards/40percentclub/4x4/rules.mk b/keyboards/40percentclub/4x4/rules.mk index 08d4b4a40c..e092372d7d 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 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 ortho_4x16 + +# Disable unsupported hardware +RGBLIGHT_SUPPORTED = no +AUDIO_SUPPORTED = no +BACKLIGHT_SUPPORTED = no diff --git a/keyboards/40percentclub/gherkin/rules.mk b/keyboards/40percentclub/gherkin/rules.mk index d8c4894a85..db971e00ef 100644 --- a/keyboards/40percentclub/gherkin/rules.mk +++ b/keyboards/40percentclub/gherkin/rules.mk @@ -26,3 +26,7 @@ AUDIO_ENABLE = no RGBLIGHT_ENABLE = no LAYOUTS = ortho_3x10 + +# Disable unsupported hardware +RGBLIGHT_SUPPORTED = no +AUDIO_SUPPORTED = no diff --git a/keyboards/40percentclub/nori/rules.mk b/keyboards/40percentclub/nori/rules.mk index 5fbdb3ac0b..df09b0bdee 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 FAUXCLICKY_ENABLE = no # Use buzzer to emulate clicky switches LAYOUTS = ortho_4x4 ortho_4x8 ortho_4x12 + +# Disable unsupported hardware +AUDIO_SUPPORTED = no |