summaryrefslogtreecommitdiff
path: root/keyboards/jkdlab
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/jkdlab
parent12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff)
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/jkdlab')
-rw-r--r--keyboards/jkdlab/binary_monkey/config.h21
-rw-r--r--keyboards/jkdlab/binary_monkey/info.json3
2 files changed, 2 insertions, 22 deletions
diff --git a/keyboards/jkdlab/binary_monkey/config.h b/keyboards/jkdlab/binary_monkey/config.h
deleted file mode 100644
index 3b83277d42..0000000000
--- a/keyboards/jkdlab/binary_monkey/config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/*
- * Copyright 2021 JKDLAB. <jkdlab.co@gmail.com>
- * Copyright 2021 Jaehee <ljh34210329@gmail.com>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 3 of the License,
- * or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see https://www.gnu.org/licenses/.
- */
-
-#pragma once
-
-#define USB_MAX_POWER_CONSUMPTION 100
diff --git a/keyboards/jkdlab/binary_monkey/info.json b/keyboards/jkdlab/binary_monkey/info.json
index 43ba146854..50b92ff899 100644
--- a/keyboards/jkdlab/binary_monkey/info.json
+++ b/keyboards/jkdlab/binary_monkey/info.json
@@ -6,7 +6,8 @@
"usb": {
"vid": "0x4934",
"pid": "0x0101",
- "device_version": "0.0.1"
+ "device_version": "0.0.1",
+ "max_power": 100
},
"matrix_pins": {
"cols": ["D1", "D2", "D3"],