From 314f6c1ddba09851b33e4f3b4bd43bdbc55f9628 Mon Sep 17 00:00:00 2001
From: Ryan <fauxpark@gmail.com>
Date: Sun, 26 Feb 2023 08:37:57 +1100
Subject: Move backlight config to data driven (#19910)

---
 keyboards/primekb/prime_e/std/config.h  | 22 ----------------------
 keyboards/primekb/prime_e/std/info.json |  4 ++++
 2 files changed, 4 insertions(+), 22 deletions(-)
 delete mode 100644 keyboards/primekb/prime_e/std/config.h

(limited to 'keyboards/primekb/prime_e/std')

diff --git a/keyboards/primekb/prime_e/std/config.h b/keyboards/primekb/prime_e/std/config.h
deleted file mode 100644
index eb111f5665..0000000000
--- a/keyboards/primekb/prime_e/std/config.h
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
-Copyright 2019 Holten Campbell
-
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 2 of the License, or
-(at your option) any later version.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program.  If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-
-#define BACKLIGHT_PIN B7
-#define BACKLIGHT_LEVELS 5
diff --git a/keyboards/primekb/prime_e/std/info.json b/keyboards/primekb/prime_e/std/info.json
index 04f8842546..b6078c9d7a 100644
--- a/keyboards/primekb/prime_e/std/info.json
+++ b/keyboards/primekb/prime_e/std/info.json
@@ -3,5 +3,9 @@
     "usb": {
         "pid": "0x0051",
         "device_version": "0.0.1"
+    },
+    "backlight": {
+        "pin": "B7",
+        "levels": 5
     }
 }
-- 
cgit v1.2.3