summaryrefslogtreecommitdiffstats
path: root/keyboards/pearl
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/pearl
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/pearl')
-rw-r--r--keyboards/pearl/config.h2
-rw-r--r--keyboards/pearl/info.json3
2 files changed, 3 insertions, 2 deletions
diff --git a/keyboards/pearl/config.h b/keyboards/pearl/config.h
index d490e7e75b..51e4b85e74 100644
--- a/keyboards/pearl/config.h
+++ b/keyboards/pearl/config.h
@@ -29,8 +29,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 12
-#define BACKLIGHT_PIN D4
-
#define MATRIX_ROW_PINS { B0, B1, B2, B3 }
#define MATRIX_COL_PINS { A0, A1, A2, A3, A4, A5, A6, A7, C7, C6, C5, C4, C3}
diff --git a/keyboards/pearl/info.json b/keyboards/pearl/info.json
index 3808bdecf4..96357ad346 100644
--- a/keyboards/pearl/info.json
+++ b/keyboards/pearl/info.json
@@ -7,6 +7,9 @@
"pid": "0x0348",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"num_lock": "D0",