summaryrefslogtreecommitdiffstats
path: root/keyboards/b_sides
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/b_sides
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/b_sides')
-rw-r--r--keyboards/b_sides/rev41lp/config.h3
-rw-r--r--keyboards/b_sides/rev41lp/info.json2
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/b_sides/rev41lp/config.h b/keyboards/b_sides/rev41lp/config.h
index c843c89eef..0b644bec4a 100644
--- a/keyboards/b_sides/rev41lp/config.h
+++ b/keyboards/b_sides/rev41lp/config.h
@@ -22,6 +22,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define MATRIX_COL_PINS { D4, C6, D7, E6, B4, B5 }
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B6
-#define BACKLIGHT_LEVELS 7
diff --git a/keyboards/b_sides/rev41lp/info.json b/keyboards/b_sides/rev41lp/info.json
index 9b1a1c9e9c..c0a5fd3365 100644
--- a/keyboards/b_sides/rev41lp/info.json
+++ b/keyboards/b_sides/rev41lp/info.json
@@ -9,6 +9,8 @@
"device_version": "0.0.1"
},
"backlight": {
+ "pin": "B6",
+ "levels": 7,
"max_brightness": 150
},
"processor": "atmega32u4",