summaryrefslogtreecommitdiff
path: root/keyboards/wolf/sabre
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/wolf/sabre
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/wolf/sabre')
-rw-r--r--keyboards/wolf/sabre/config.h2
-rw-r--r--keyboards/wolf/sabre/info.json3
-rw-r--r--keyboards/wolf/sabre/rules.mk1
3 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/wolf/sabre/config.h b/keyboards/wolf/sabre/config.h
index 6787d262ca..c0150fce0b 100644
--- a/keyboards/wolf/sabre/config.h
+++ b/keyboards/wolf/sabre/config.h
@@ -35,5 +35,3 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* COL2ROW or ROW2COL */
#define DIODE_DIRECTION COL2ROW
-
-#define BACKLIGHT_PIN B7
diff --git a/keyboards/wolf/sabre/info.json b/keyboards/wolf/sabre/info.json
index 5dd8aba471..40ee60a6d0 100644
--- a/keyboards/wolf/sabre/info.json
+++ b/keyboards/wolf/sabre/info.json
@@ -8,6 +8,9 @@
"pid": "0x0055",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "B7"
+ },
"indicators": {
"caps_lock": "B3",
"scroll_lock": "B0",
diff --git a/keyboards/wolf/sabre/rules.mk b/keyboards/wolf/sabre/rules.mk
index c53a08ce4a..e7cc37d18d 100644
--- a/keyboards/wolf/sabre/rules.mk
+++ b/keyboards/wolf/sabre/rules.mk
@@ -14,4 +14,3 @@ BACKLIGHT_ENABLE = no # Enable keyboard backlight functionality
RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
BACKLIGHT_ENABLE = yes
-BACKLIGHT_DRIVER = pwm \ No newline at end of file