summaryrefslogtreecommitdiff
path: root/keyboards/percent
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/percent
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/percent')
-rw-r--r--keyboards/percent/booster/config.h2
-rw-r--r--keyboards/percent/booster/info.json3
-rw-r--r--keyboards/percent/canoe/config.h2
-rw-r--r--keyboards/percent/canoe/info.json3
-rw-r--r--keyboards/percent/skog/config.h3
-rw-r--r--keyboards/percent/skog/info.json4
-rw-r--r--keyboards/percent/skog_lite/config.h2
-rw-r--r--keyboards/percent/skog_lite/info.json3
8 files changed, 13 insertions, 9 deletions
diff --git a/keyboards/percent/booster/config.h b/keyboards/percent/booster/config.h
index 6fe2567688..b452a0dcb6 100644
--- a/keyboards/percent/booster/config.h
+++ b/keyboards/percent/booster/config.h
@@ -21,8 +21,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_ROW_PINS { D1, D6, D7, B4, B5 }
#define MATRIX_COL_PINS { C7, D4, D2, D0 }
-#define BACKLIGHT_PIN B7
-
#define DIODE_DIRECTION COL2ROW
#define RGB_DI_PIN E2
diff --git a/keyboards/percent/booster/info.json b/keyboards/percent/booster/info.json
index d17ba98f05..f92476c9f6 100644
--- a/keyboards/percent/booster/info.json
+++ b/keyboards/percent/booster/info.json
@@ -8,6 +8,9 @@
"pid": "0x4253",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"community_layouts": ["numpad_5x4"],
diff --git a/keyboards/percent/canoe/config.h b/keyboards/percent/canoe/config.h
index ff08476a5c..69f53905fc 100644
--- a/keyboards/percent/canoe/config.h
+++ b/keyboards/percent/canoe/config.h
@@ -25,8 +25,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/percent/canoe/info.json b/keyboards/percent/canoe/info.json
index 18d57bce99..951e55ec64 100644
--- a/keyboards/percent/canoe/info.json
+++ b/keyboards/percent/canoe/info.json
@@ -8,6 +8,9 @@
"pid": "0x434E",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1"
},
diff --git a/keyboards/percent/skog/config.h b/keyboards/percent/skog/config.h
index bbd6a7470c..274d30df72 100644
--- a/keyboards/percent/skog/config.h
+++ b/keyboards/percent/skog/config.h
@@ -32,6 +32,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
-
-#define BACKLIGHT_PIN D4
-#define BACKLIGHT_LEVELS 5
diff --git a/keyboards/percent/skog/info.json b/keyboards/percent/skog/info.json
index 5d461b67a4..80c7d832c4 100644
--- a/keyboards/percent/skog/info.json
+++ b/keyboards/percent/skog/info.json
@@ -8,6 +8,10 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4",
+ "levels": 5
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"
diff --git a/keyboards/percent/skog_lite/config.h b/keyboards/percent/skog_lite/config.h
index 94dbb85d04..b00a612cd7 100644
--- a/keyboards/percent/skog_lite/config.h
+++ b/keyboards/percent/skog_lite/config.h
@@ -26,8 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define DIODE_DIRECTION COL2ROW
-#define BACKLIGHT_PIN D4
-
#define RGBLIGHT_EFFECT_BREATHING
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
#define RGBLIGHT_EFFECT_RAINBOW_SWIRL
diff --git a/keyboards/percent/skog_lite/info.json b/keyboards/percent/skog_lite/info.json
index 8b126296e6..74abc67bdc 100644
--- a/keyboards/percent/skog_lite/info.json
+++ b/keyboards/percent/skog_lite/info.json
@@ -8,6 +8,9 @@
"pid": "0x422D",
"device_version": "2.0.0"
},
+ "backlight": {
+ "pin": "D4"
+ },
"indicators": {
"caps_lock": "D1",
"scroll_lock": "D6"