summaryrefslogtreecommitdiffstats
path: root/keyboards/spaceman/pancake
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 08:12:37 +1000
committerGitHub <noreply@github.com>2022-08-04 08:12:37 +1000
commita8744b163074457253da2c63affd3b4cceefe04a (patch)
treea2410a2476a6dfb0dd51f15eebfc360c8238b413 /keyboards/spaceman/pancake
parentb40c03140e5da1edac2faa2b672a84ea28d0a7c1 (diff)
Move keyboard USB IDs and strings to data driven: S (#17889)
Diffstat (limited to 'keyboards/spaceman/pancake')
-rw-r--r--keyboards/spaceman/pancake/rev1/config.h7
-rw-r--r--keyboards/spaceman/pancake/rev1/info.json6
-rw-r--r--keyboards/spaceman/pancake/rev2/config.h7
-rw-r--r--keyboards/spaceman/pancake/rev2/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/spaceman/pancake/rev1/config.h b/keyboards/spaceman/pancake/rev1/config.h
index e05a618e4a..46eb28d6ba 100644
--- a/keyboards/spaceman/pancake/rev1/config.h
+++ b/keyboards/spaceman/pancake/rev1/config.h
@@ -16,13 +16,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5342 // SB
-#define PRODUCT_ID 0x504B // PK
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Spaceman
-#define PRODUCT Pancake
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
diff --git a/keyboards/spaceman/pancake/rev1/info.json b/keyboards/spaceman/pancake/rev1/info.json
index 7462b5bf6b..b05601cfa4 100644
--- a/keyboards/spaceman/pancake/rev1/info.json
+++ b/keyboards/spaceman/pancake/rev1/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Pancake",
+ "manufacturer": "Spaceman",
"url": "",
"maintainer": "Spaceman",
+ "usb": {
+ "vid": "0x5342",
+ "pid": "0x504B",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_planck_mit": {
"layout": [
diff --git a/keyboards/spaceman/pancake/rev2/config.h b/keyboards/spaceman/pancake/rev2/config.h
index a4d3b439c4..f63b136140 100644
--- a/keyboards/spaceman/pancake/rev2/config.h
+++ b/keyboards/spaceman/pancake/rev2/config.h
@@ -16,13 +16,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x5342 // SB
-#define PRODUCT_ID 0x5032 // P2
-#define DEVICE_VER 0x0002
-#define MANUFACTURER Spaceman
-#define PRODUCT Pancake 2
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
diff --git a/keyboards/spaceman/pancake/rev2/info.json b/keyboards/spaceman/pancake/rev2/info.json
index a5a4aad132..300d0f6090 100644
--- a/keyboards/spaceman/pancake/rev2/info.json
+++ b/keyboards/spaceman/pancake/rev2/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Pancake 2",
+ "manufacturer": "Spaceman",
"url": "",
"maintainer": "Spaceman",
+ "usb": {
+ "vid": "0x5342",
+ "pid": "0x5032",
+ "device_version": "0.0.2"
+ },
"layouts": {
"LAYOUT_ortho_4x12": {
"layout": [