summaryrefslogtreecommitdiff
path: root/keyboards/metamechs
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/metamechs
parentba7546a334ec56e70629652e8552dd493449e9db (diff)
Move backlight config to data driven (#19910)
Diffstat (limited to 'keyboards/metamechs')
-rw-r--r--keyboards/metamechs/timberwolf/config.h4
-rw-r--r--keyboards/metamechs/timberwolf/info.json4
-rw-r--r--keyboards/metamechs/timberwolf/rules.mk2
3 files changed, 4 insertions, 6 deletions
diff --git a/keyboards/metamechs/timberwolf/config.h b/keyboards/metamechs/timberwolf/config.h
index 7e259d0817..83501eb878 100644
--- a/keyboards/metamechs/timberwolf/config.h
+++ b/keyboards/metamechs/timberwolf/config.h
@@ -44,10 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
/* Reverse encoder direction */
// #define ENCODER_DIRECTION_FLIP
-/* Backlighting code used for caps lock indicator */
-#define BACKLIGHT_PIN C6
-#define BACKLIGHT_LEVELS 16
-
/*
* Feature disable options
* These options are also useful to firmware size reduction.
diff --git a/keyboards/metamechs/timberwolf/info.json b/keyboards/metamechs/timberwolf/info.json
index 87ee8d48a8..4d6e82eec6 100644
--- a/keyboards/metamechs/timberwolf/info.json
+++ b/keyboards/metamechs/timberwolf/info.json
@@ -8,6 +8,10 @@
"pid": "0x5754",
"device_version": "0.0.1"
},
+ "backlight": {
+ "pin": "C6",
+ "levels": 16
+ },
"processor": "atmega32u4",
"bootloader": "atmel-dfu",
"layouts": {
diff --git a/keyboards/metamechs/timberwolf/rules.mk b/keyboards/metamechs/timberwolf/rules.mk
index 0a9f98774c..247b4e978a 100644
--- a/keyboards/metamechs/timberwolf/rules.mk
+++ b/keyboards/metamechs/timberwolf/rules.mk
@@ -12,5 +12,3 @@ RGBLIGHT_ENABLE = no # Enable keyboard RGB underglow
AUDIO_ENABLE = no # Audio output
ENCODER_ENABLE = yes # Enable encoder support
LTO_ENABLE = yes
-
-BACKLIGHT_DRIVER = pwm