summaryrefslogtreecommitdiff
path: root/keyboards/wolf
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
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/wolf')
-rw-r--r--keyboards/wolf/sabre/config.h2
-rw-r--r--keyboards/wolf/sabre/info.json3
-rw-r--r--keyboards/wolf/sabre/rules.mk1
-rw-r--r--keyboards/wolf/ts60/config.h3
-rw-r--r--keyboards/wolf/ts60/info.json4
5 files changed, 7 insertions, 6 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/>.
35 35
36/* COL2ROW or ROW2COL */ 36/* COL2ROW or ROW2COL */
37#define DIODE_DIRECTION COL2ROW 37#define DIODE_DIRECTION COL2ROW
38
39#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 @@
8 "pid": "0x0055", 8 "pid": "0x0055",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "backlight": {
12 "pin": "B7"
13 },
11 "indicators": { 14 "indicators": {
12 "caps_lock": "B3", 15 "caps_lock": "B3",
13 "scroll_lock": "B0", 16 "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
14RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow 14RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
15AUDIO_ENABLE = no # Audio output 15AUDIO_ENABLE = no # Audio output
16BACKLIGHT_ENABLE = yes 16BACKLIGHT_ENABLE = yes
17BACKLIGHT_DRIVER = pwm \ No newline at end of file
diff --git a/keyboards/wolf/ts60/config.h b/keyboards/wolf/ts60/config.h
index e5cb71fb4c..7664e747c7 100644
--- a/keyboards/wolf/ts60/config.h
+++ b/keyboards/wolf/ts60/config.h
@@ -52,7 +52,4 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
52#define RGBLIGHT_SLEEP 52#define RGBLIGHT_SLEEP
53#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL 53#define RGBLIGHT_DEFAULT_MODE RGBLIGHT_MODE_RAINBOW_SWIRL
54 54
55/* Define Per Key Backlight */
56#define BACKLIGHT_PIN B7
57#define BACKLIGHT_LEVELS 6
58#define BACKLIGHT_DEFAULT_LEVEL 6 55#define BACKLIGHT_DEFAULT_LEVEL 6
diff --git a/keyboards/wolf/ts60/info.json b/keyboards/wolf/ts60/info.json
index e3d2a375e3..8b40cd6ff2 100644
--- a/keyboards/wolf/ts60/info.json
+++ b/keyboards/wolf/ts60/info.json
@@ -8,6 +8,10 @@
8 "pid": "0x0050", 8 "pid": "0x0050",
9 "device_version": "0.0.1" 9 "device_version": "0.0.1"
10 }, 10 },
11 "backlight": {
12 "pin": "B7",
13 "levels": 6
14 },
11 "processor": "atmega32u4", 15 "processor": "atmega32u4",
12 "bootloader": "atmel-dfu", 16 "bootloader": "atmel-dfu",
13 "community_layouts": ["60_ansi"], 17 "community_layouts": ["60_ansi"],