diff options
author | Ryan <fauxpark@gmail.com> | 2023-02-26 08:37:57 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-26 08:37:57 +1100 |
commit | 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch) | |
tree | 8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/winkeyless | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/winkeyless')
-rw-r--r-- | keyboards/winkeyless/b87/config.h | 2 | ||||
-rw-r--r-- | keyboards/winkeyless/b87/info.json | 3 | ||||
-rw-r--r-- | keyboards/winkeyless/bface/config.h | 2 | ||||
-rw-r--r-- | keyboards/winkeyless/bface/info.json | 3 | ||||
-rw-r--r-- | keyboards/winkeyless/bmini/config.h | 2 | ||||
-rw-r--r-- | keyboards/winkeyless/bmini/info.json | 3 | ||||
-rw-r--r-- | keyboards/winkeyless/bminiex/config.h | 3 | ||||
-rw-r--r-- | keyboards/winkeyless/bminiex/info.json | 4 |
8 files changed, 13 insertions, 9 deletions
diff --git a/keyboards/winkeyless/b87/config.h b/keyboards/winkeyless/b87/config.h index 6d0d221922..ce27a1c563 100644 --- a/keyboards/winkeyless/b87/config.h +++ b/keyboards/winkeyless/b87/config.h @@ -36,5 +36,3 @@ /* COL2ROW or ROW2COL */ #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/b87/info.json b/keyboards/winkeyless/b87/info.json index 0d53604cd1..542cc74d27 100644 --- a/keyboards/winkeyless/b87/info.json +++ b/keyboards/winkeyless/b87/info.json @@ -8,6 +8,9 @@ "pid": "0x0B87", "device_version": "0.0.1" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "scroll_lock": "D6" diff --git a/keyboards/winkeyless/bface/config.h b/keyboards/winkeyless/bface/config.h index d2ad985cae..cbb0be707d 100644 --- a/keyboards/winkeyless/bface/config.h +++ b/keyboards/winkeyless/bface/config.h @@ -35,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bface/info.json b/keyboards/winkeyless/bface/info.json index e19e42e577..f7a8c61032 100644 --- a/keyboards/winkeyless/bface/info.json +++ b/keyboards/winkeyless/bface/info.json @@ -8,6 +8,9 @@ "pid": "0x4246", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bmini/config.h b/keyboards/winkeyless/bmini/config.h index 8589b74f37..033807a3f5 100644 --- a/keyboards/winkeyless/bmini/config.h +++ b/keyboards/winkeyless/bmini/config.h @@ -34,5 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 diff --git a/keyboards/winkeyless/bmini/info.json b/keyboards/winkeyless/bmini/info.json index e096f860cc..58edbac998 100644 --- a/keyboards/winkeyless/bmini/info.json +++ b/keyboards/winkeyless/bmini/info.json @@ -8,6 +8,9 @@ "pid": "0x424D", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4" + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", diff --git a/keyboards/winkeyless/bminiex/config.h b/keyboards/winkeyless/bminiex/config.h index b145f25348..351de6f475 100644 --- a/keyboards/winkeyless/bminiex/config.h +++ b/keyboards/winkeyless/bminiex/config.h @@ -34,6 +34,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define RGBLIGHT_EFFECT_RGB_TEST #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE - -#define BACKLIGHT_PIN D4 -#define BACKLIGHT_LEVELS 5 diff --git a/keyboards/winkeyless/bminiex/info.json b/keyboards/winkeyless/bminiex/info.json index 65d888eaec..afd766f480 100644 --- a/keyboards/winkeyless/bminiex/info.json +++ b/keyboards/winkeyless/bminiex/info.json @@ -8,6 +8,10 @@ "pid": "0x4258", "device_version": "2.0.0" }, + "backlight": { + "pin": "D4", + "levels": 5 + }, "indicators": { "caps_lock": "D1", "num_lock": "D0", |