summaryrefslogtreecommitdiffstats
path: root/keyboards/mokey/ginkgo65hot
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-02-26 08:37:57 +1100
committerGitHub <noreply@github.com>2023-02-26 08:37:57 +1100
commit314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 (patch)
tree8d0008ee0609b42ffbcbe19e52c3695ea5ab9280 /keyboards/mokey/ginkgo65hot
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/mokey/ginkgo65hot')
-rw-r--r--keyboards/mokey/ginkgo65hot/config.h5
-rw-r--r--keyboards/mokey/ginkgo65hot/info.json6
2 files changed, 6 insertions, 5 deletions
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": {