summaryrefslogtreecommitdiff
path: root/keyboards/0xcb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-14 10:54:49 +1100
committerGitHub <noreply@github.com>2022-03-13 23:54:49 +0000
commitc0f417911703738b3ede14b87be5c4a39db07016 (patch)
treef828fc66a81cad7d79def8399af9fc932fa3a9fb /keyboards/0xcb
parentdf3770551a4dcbf8188a16453dd64fe1787f83d8 (diff)
downloadqmk_firmware-c0f417911703738b3ede14b87be5c4a39db07016.tar.gz
qmk_firmware-c0f417911703738b3ede14b87be5c4a39db07016.zip
Move keyboard USB IDs and strings to data driven: 0-9 (#16481)
Diffstat (limited to 'keyboards/0xcb')
-rw-r--r--keyboards/0xcb/1337/config.h7
-rw-r--r--keyboards/0xcb/1337/info.json8
-rw-r--r--keyboards/0xcb/static/config.h6
-rw-r--r--keyboards/0xcb/static/info.json8
4 files changed, 14 insertions, 15 deletions
diff --git a/keyboards/0xcb/1337/config.h b/keyboards/0xcb/1337/config.h
index d134d1ab49..3b34af6580 100644
--- a/keyboards/0xcb/1337/config.h
+++ b/keyboards/0xcb/1337/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
// clang-format off
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xCB00
-#define PRODUCT_ID 0x1337
-#define DEVICE_VER 0x0001
-#define MANUFACTURER 0xCB
-#define PRODUCT 1337
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/0xcb/1337/info.json b/keyboards/0xcb/1337/info.json
index 25899933cb..cd5993ee0d 100644
--- a/keyboards/0xcb/1337/info.json
+++ b/keyboards/0xcb/1337/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "0xCB 1337",
+ "keyboard_name": "1337",
+ "manufacturer": "0xCB",
"url": "https://0xCB.dev",
"maintainer": "Conor-Burns",
+ "usb": {
+ "vid": "0xCB00",
+ "pid": "0x1337",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/0xcb/static/config.h b/keyboards/0xcb/static/config.h
index c30450b460..9c3a0c6649 100644
--- a/keyboards/0xcb/static/config.h
+++ b/keyboards/0xcb/static/config.h
@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
// clang-format off
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xCB00
-#define PRODUCT_ID 0xA455
-#define DEVICE_VER 0x0001
-#define MANUFACTURER 0xCB
-#define PRODUCT Static
/* key matrix size */
#define MATRIX_ROWS 8
diff --git a/keyboards/0xcb/static/info.json b/keyboards/0xcb/static/info.json
index 33fa8d265e..4a6232abad 100644
--- a/keyboards/0xcb/static/info.json
+++ b/keyboards/0xcb/static/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "0xCB Static",
+ "keyboard_name": "Static",
+ "manufacturer": "0xCB",
"url": "https://0xCB.dev",
"maintainer": "Conor-Burns",
+ "usb": {
+ "vid": "0xCB00",
+ "pid": "0xA455",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},