diff options
author | Ryan <fauxpark@gmail.com> | 2022-07-26 09:04:09 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-26 00:04:09 +0100 |
commit | a939293aca697cb263f4972dbb1521d273fbf499 (patch) | |
tree | c582d4bf0a5937618d0f5cc12c6f70068bab56a5 /keyboards/cherrybstudio/cb1800 | |
parent | b6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff) |
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/cherrybstudio/cb1800')
-rw-r--r-- | keyboards/cherrybstudio/cb1800/config.h | 7 | ||||
-rw-r--r-- | keyboards/cherrybstudio/cb1800/info.json | 8 |
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/cherrybstudio/cb1800/config.h b/keyboards/cherrybstudio/cb1800/config.h index a9932fe735..c6266e4459 100644 --- a/keyboards/cherrybstudio/cb1800/config.h +++ b/keyboards/cherrybstudio/cb1800/config.h @@ -15,13 +15,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "config_common.h" -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x4342 // CB -#define PRODUCT_ID 0x1818 -#define DEVICE_VER 0x0001 -#define MANUFACTURER CherryB.Studio -#define PRODUCT CB1800 - /* key matrix size */ #define MATRIX_ROWS 10 #define MATRIX_COLS 11 diff --git a/keyboards/cherrybstudio/cb1800/info.json b/keyboards/cherrybstudio/cb1800/info.json index ea54e1e6c5..1caf876a61 100644 --- a/keyboards/cherrybstudio/cb1800/info.json +++ b/keyboards/cherrybstudio/cb1800/info.json @@ -1,7 +1,13 @@ { - "keyboard_name": "cb1800", + "keyboard_name": "CB1800", + "manufacturer": "CherryB.Studio", "url": "https://discord.gg/qVwv3gcq83", "maintainer": "duongaanh", + "usb": { + "vid": "0x4342", + "pid": "0x1818", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT_all": { "layout": [ |