summaryrefslogtreecommitdiff
path: root/keyboards/mokey
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/mokey')
-rw-r--r--keyboards/mokey/ginkgo65/config.h5
-rw-r--r--keyboards/mokey/ginkgo65/info.json3
-rw-r--r--keyboards/mokey/ginkgo65hot/config.h5
-rw-r--r--keyboards/mokey/ginkgo65hot/info.json6
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": {