summaryrefslogtreecommitdiffstats
path: root/keyboards/nopunin10did/jabberwocky
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/nopunin10did/jabberwocky
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/nopunin10did/jabberwocky')
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/config.h2
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/info.json4
-rw-r--r--keyboards/nopunin10did/jabberwocky/v2/rules.mk1
3 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/nopunin10did/jabberwocky/v2/config.h b/keyboards/nopunin10did/jabberwocky/v2/config.h
index 367603694c..0a91a41444 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/config.h
+++ b/keyboards/nopunin10did/jabberwocky/v2/config.h
@@ -21,8 +21,6 @@
#define MATRIX_ROW_PINS { B2, B3, B1, D4, B4, D1, E6, B0, F0, F1, F4, F5 }
#define MATRIX_COL_PINS { D0, D2, D3, D5, B5, D7, F6, F7, C7, B6 }
-#define BACKLIGHT_LEVELS 6
-
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
diff --git a/keyboards/nopunin10did/jabberwocky/v2/info.json b/keyboards/nopunin10did/jabberwocky/v2/info.json
index ea7f59ed8d..a2b9d5a02c 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/info.json
+++ b/keyboards/nopunin10did/jabberwocky/v2/info.json
@@ -9,7 +9,9 @@
"device_version": "0.2.0"
},
"backlight": {
- "pins": ["D6"]
+ "driver": "software",
+ "pins": ["D6"],
+ "levels": 6
},
"indicators": {
"caps_lock": "B7",
diff --git a/keyboards/nopunin10did/jabberwocky/v2/rules.mk b/keyboards/nopunin10did/jabberwocky/v2/rules.mk
index ae0d08d802..b325f3f0c7 100644
--- a/keyboards/nopunin10did/jabberwocky/v2/rules.mk
+++ b/keyboards/nopunin10did/jabberwocky/v2/rules.mk
@@ -8,6 +8,5 @@ CONSOLE_ENABLE = no # Console for debug
COMMAND_ENABLE = no # Commands for debug and configuration
NKRO_ENABLE = yes # Enable N-Key Rollover
BACKLIGHT_ENABLE = yes # Enable keyboard backlight functionality
-BACKLIGHT_DRIVER = software # Software-driven backlight driver
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output