summaryrefslogtreecommitdiff
path: root/keyboards/primekb/prime_e
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/primekb/prime_e
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/primekb/prime_e')
-rw-r--r--keyboards/primekb/prime_e/std/config.h22
-rw-r--r--keyboards/primekb/prime_e/std/info.json4
2 files changed, 4 insertions, 22 deletions
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
}
}