summaryrefslogtreecommitdiff
path: root/keyboards/keycapsss
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2023-05-01 17:37:12 +1000
committerGitHub <noreply@github.com>2023-05-01 17:37:12 +1000
commit2944e938703e2049bb6262a0ab31e701d27e8ab3 (patch)
treea73caa75fafe8b7926e18886d603c032d246fcac /keyboards/keycapsss
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/keycapsss')
-rw-r--r--keyboards/keycapsss/plaid_pad/config.h2
-rw-r--r--keyboards/keycapsss/plaid_pad/info.json3
2 files changed, 2 insertions, 3 deletions
diff --git a/keyboards/keycapsss/plaid_pad/config.h b/keyboards/keycapsss/plaid_pad/config.h
index 0ac7d2ee62..984323f63c 100644
--- a/keyboards/keycapsss/plaid_pad/config.h
+++ b/keyboards/keycapsss/plaid_pad/config.h
@@ -16,7 +16,5 @@
#pragma once
-#define USB_MAX_POWER_CONSUMPTION 100
-
// Fix for volume controll with encoder (steadily in/decrease)
#define TAP_CODE_DELAY 60
diff --git a/keyboards/keycapsss/plaid_pad/info.json b/keyboards/keycapsss/plaid_pad/info.json
index 6ff2d2cea2..9fe02448d0 100644
--- a/keyboards/keycapsss/plaid_pad/info.json
+++ b/keyboards/keycapsss/plaid_pad/info.json
@@ -4,7 +4,8 @@
"maintainer": "BenRoe",
"usb": {
"vid": "0x7983",
- "pid": "0x5050"
+ "pid": "0x5050",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["B0", "D7", "D6", "D5"],