From d02c4c5241b92396c883b9efa6f140236e74fa2d Mon Sep 17 00:00:00 2001 From: Zach White Date: Sat, 30 Jan 2021 13:08:58 -0800 Subject: Add a _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 * add a few more features * remove my test fixture * disable things that make all:all suggested" Co-authored-by: Zach White Co-authored-by: Drashna Jaelre --- keyboards/spaceman/pancake/feather/rules.mk | 5 +++++ keyboards/spaceman/pancake/promicro/rules.mk | 5 +++++ 2 files changed, 10 insertions(+) (limited to 'keyboards/spaceman') diff --git a/keyboards/spaceman/pancake/feather/rules.mk b/keyboards/spaceman/pancake/feather/rules.mk index a7331959c8..f9f1726952 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 RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. LAYOUTS = ortho_4x12 planck_mit + +# Disable unsupported hardware +RGBLIGHT_SUPPORTED = no +AUDIO_SUPPORTED = no +BACKLIGHT_SUPPORTED = no diff --git a/keyboards/spaceman/pancake/promicro/rules.mk b/keyboards/spaceman/pancake/promicro/rules.mk index 09daaf4daf..407ae090f0 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 RGBLIGHT_ENABLE = no # This can be enabled if a ws2812 strip is connected to the expansion port. LAYOUTS = ortho_4x12 planck_mit + +# Disable unsupported hardware +RGBLIGHT_SUPPORTED = no +AUDIO_SUPPORTED = no +BACKLIGHT_SUPPORTED = no -- cgit v1.2.1