From 1027aed83a264d03cf3bbfd4a85ca7d240217b0f Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 15 Aug 2022 11:53:19 +1000 Subject: Move keyboard USB IDs and strings to data driven, pass 2: F-I (#17958) --- keyboards/idobao/id80/v1/ansi/config.h | 27 --------------------------- keyboards/idobao/id80/v1/ansi/info.json | 6 ++++++ keyboards/idobao/id80/v1/info.json | 6 +++++- keyboards/idobao/id80/v1/iso/config.h | 27 --------------------------- keyboards/idobao/id80/v1/iso/info.json | 6 ++++++ 5 files changed, 17 insertions(+), 55 deletions(-) delete mode 100644 keyboards/idobao/id80/v1/ansi/config.h create mode 100644 keyboards/idobao/id80/v1/ansi/info.json delete mode 100644 keyboards/idobao/id80/v1/iso/config.h create mode 100644 keyboards/idobao/id80/v1/iso/info.json (limited to 'keyboards/idobao') diff --git a/keyboards/idobao/id80/v1/ansi/config.h b/keyboards/idobao/id80/v1/ansi/config.h deleted file mode 100644 index 253c0757b8..0000000000 --- a/keyboards/idobao/id80/v1/ansi/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2020 Sergey Vlasov - -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 2 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 . -*/ - -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x6964 /* "id" */ -#define PRODUCT_ID 0x0080 -#define DEVICE_VER 0x0001 -#define MANUFACTURER IDOBAO -#define PRODUCT ID80 diff --git a/keyboards/idobao/id80/v1/ansi/info.json b/keyboards/idobao/id80/v1/ansi/info.json new file mode 100644 index 0000000000..e44e5f8b00 --- /dev/null +++ b/keyboards/idobao/id80/v1/ansi/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "ID80 ANSI", + "usb": { + "pid": "0x0080", + } +} diff --git a/keyboards/idobao/id80/v1/info.json b/keyboards/idobao/id80/v1/info.json index 072b4ca4db..a4c11f4719 100644 --- a/keyboards/idobao/id80/v1/info.json +++ b/keyboards/idobao/id80/v1/info.json @@ -1,7 +1,11 @@ { - "keyboard_name": "ID80", + "manufacturer": "IDOBAO", "url": "", "maintainer": "qmk", + "usb": { + "vid": "0x6964", + "device_version": "0.0.1" + }, "layouts": { "LAYOUT": { "layout": [ diff --git a/keyboards/idobao/id80/v1/iso/config.h b/keyboards/idobao/id80/v1/iso/config.h deleted file mode 100644 index cd9c497442..0000000000 --- a/keyboards/idobao/id80/v1/iso/config.h +++ /dev/null @@ -1,27 +0,0 @@ -/* -Copyright 2020 Sergey Vlasov - -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 2 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 . -*/ - -#pragma once - -#include "config_common.h" - -/* USB Device descriptor parameter */ -#define VENDOR_ID 0x6964 /* "id" */ -#define PRODUCT_ID 0x0081 -#define DEVICE_VER 0x0001 -#define MANUFACTURER IDOBAO -#define PRODUCT ID80 ISO diff --git a/keyboards/idobao/id80/v1/iso/info.json b/keyboards/idobao/id80/v1/iso/info.json new file mode 100644 index 0000000000..7512d696e2 --- /dev/null +++ b/keyboards/idobao/id80/v1/iso/info.json @@ -0,0 +1,6 @@ +{ + "keyboard_name": "ID80 ISO", + "usb": { + "pid": "0x0081", + } +} -- cgit v1.2.1