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/mokey | |
parent | ba7546a334ec56e70629652e8552dd493449e9db (diff) |
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mokey')
-rw-r--r-- | keyboards/mokey/ginkgo65/config.h | 5 | ||||
-rw-r--r-- | keyboards/mokey/ginkgo65/info.json | 3 | ||||
-rw-r--r-- | keyboards/mokey/ginkgo65hot/config.h | 5 | ||||
-rw-r--r-- | keyboards/mokey/ginkgo65hot/info.json | 6 |
4 files changed, 8 insertions, 11 deletions
diff --git a/keyboards/mokey/ginkgo65/config.h b/keyboards/mokey/ginkgo65/config.h deleted file mode 100644 index 320718238a..0000000000 --- a/keyboards/mokey/ginkgo65/config.h +++ /dev/null @@ -1,5 +0,0 @@ -// Copyright 2023 QMK -// SPDX-License-Identifier: GPL-2.0-or-later - -#pragma once -#define BACKLIGHT_CAPS_LOCK diff --git a/keyboards/mokey/ginkgo65/info.json b/keyboards/mokey/ginkgo65/info.json index c081cda703..81e3fe1a38 100644 --- a/keyboards/mokey/ginkgo65/info.json +++ b/keyboards/mokey/ginkgo65/info.json @@ -18,7 +18,8 @@ "backlight": { "pin": "B6", "levels": 6, - "breathing": true + "breathing": true, + "as_caps_lock": true }, "layout_aliases": { "LAYOUT": "LAYOUT_65_ansi_blocker" diff --git a/keyboards/mokey/ginkgo65hot/config.h b/keyboards/mokey/ginkgo65hot/config.h index 148a1ce5c2..c3f836fd12 100644 --- a/keyboards/mokey/ginkgo65hot/config.h +++ b/keyboards/mokey/ginkgo65hot/config.h @@ -17,8 +17,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #define MATRIX_ROW_PINS { B0, B1, B2, B3, F7 } #define MATRIX_COL_PINS { C7, F6, F5, F4, F1, E6, D0, D1, D2, D3, D5, D4, D6, D7, B4 } #define DIODE_DIRECTION COL2ROW - -#define BACKLIGHT_PIN B6 -#define BACKLIGHT_LEVELS 6 -#define BACKLIGHT_CAPS_LOCK -#define BACKLIGHT_BREATHING diff --git a/keyboards/mokey/ginkgo65hot/info.json b/keyboards/mokey/ginkgo65hot/info.json index 9083672c7d..31427c7cb3 100644 --- a/keyboards/mokey/ginkgo65hot/info.json +++ b/keyboards/mokey/ginkgo65hot/info.json @@ -8,6 +8,12 @@ "pid": "0x3366", "device_version": "0.0.1" }, + "backlight": { + "pin": "B6", + "levels": 6, + "breathing": true, + "as_caps_lock": true + }, "processor": "atmega32u4", "bootloader": "atmel-dfu", "layout_aliases": { |