diff options
author | Ryan <fauxpark@gmail.com> | 2023-05-01 17:37:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 17:37:12 +1000 |
commit | 2944e938703e2049bb6262a0ab31e701d27e8ab3 (patch) | |
tree | a73caa75fafe8b7926e18886d603c032d246fcac /keyboards/tokyokeyboard/tokyo60 | |
parent | 12d42cedd2624db0d5cfe6f538211f9dfcd19822 (diff) |
Move `USB_MAX_POWER_CONSUMPTION` to data driven (#20648)
Diffstat (limited to 'keyboards/tokyokeyboard/tokyo60')
-rw-r--r-- | keyboards/tokyokeyboard/tokyo60/config.h | 3 | ||||
-rw-r--r-- | keyboards/tokyokeyboard/tokyo60/info.json | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/tokyokeyboard/tokyo60/config.h b/keyboards/tokyokeyboard/tokyo60/config.h index 800cb31a2f..dd58e34f08 100644 --- a/keyboards/tokyokeyboard/tokyo60/config.h +++ b/keyboards/tokyokeyboard/tokyo60/config.h @@ -1,8 +1,5 @@ #pragma once -/* Set power consumption to work with mobile devices */ -#define USB_MAX_POWER_CONSUMPTION 100 - /* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */ #define LOCKING_SUPPORT_ENABLE diff --git a/keyboards/tokyokeyboard/tokyo60/info.json b/keyboards/tokyokeyboard/tokyo60/info.json index cd2cfe2248..aae81a4a6b 100644 --- a/keyboards/tokyokeyboard/tokyo60/info.json +++ b/keyboards/tokyokeyboard/tokyo60/info.json @@ -6,7 +6,8 @@ "usb": { "vid": "0x5436", "pid": "0x6060", - "device_version": "0.0.1" + "device_version": "0.0.1", + "max_power": 100 }, "matrix_pins": { "cols": ["F0", "F1", "E6", "C7", "C6", "B6", "D4", "B1", "B2", "B5", "B4", "D7", "D6", "B3"], |