summaryrefslogtreecommitdiff
path: root/keyboards/handwired/postageboard
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:31:48 +1000
committerGitHub <noreply@github.com>2022-08-20 10:31:48 +1000
commit48792b030b754c8b3983a97071db1b09ae6353d4 (patch)
tree2b6d8d40e7ed59a59a41f26de00e4bf4898c02a4 /keyboards/handwired/postageboard
parent39f0fb7beaaf3a1e6ac8d52db0bc51ed786fad17 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)
Diffstat (limited to 'keyboards/handwired/postageboard')
-rw-r--r--keyboards/handwired/postageboard/info.json5
-rw-r--r--keyboards/handwired/postageboard/mini/config.h7
-rw-r--r--keyboards/handwired/postageboard/mini/info.json5
-rw-r--r--keyboards/handwired/postageboard/r1/config.h7
-rw-r--r--keyboards/handwired/postageboard/r1/info.json5
5 files changed, 15 insertions, 14 deletions
diff --git a/keyboards/handwired/postageboard/info.json b/keyboards/handwired/postageboard/info.json
index c4489c3c80..d15d6ef750 100644
--- a/keyboards/handwired/postageboard/info.json
+++ b/keyboards/handwired/postageboard/info.json
@@ -1,7 +1,12 @@
{
"keyboard_name": "Postage Board",
+ "manufacturer": "LifeIsOnTheWire",
"url": "",
"maintainer": "LifeIsOnTheWire",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0xB07D"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/handwired/postageboard/mini/config.h b/keyboards/handwired/postageboard/mini/config.h
index d4f654a7a4..c32c79dd85 100644
--- a/keyboards/handwired/postageboard/mini/config.h
+++ b/keyboards/handwired/postageboard/mini/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0xB07D
-#define DEVICE_VER 0x0002
-#define MANUFACTURER LifeIsOnTheWire
-#define PRODUCT PostageBoard
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 3
diff --git a/keyboards/handwired/postageboard/mini/info.json b/keyboards/handwired/postageboard/mini/info.json
new file mode 100644
index 0000000000..e557e4d307
--- /dev/null
+++ b/keyboards/handwired/postageboard/mini/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.2"
+ }
+}
diff --git a/keyboards/handwired/postageboard/r1/config.h b/keyboards/handwired/postageboard/r1/config.h
index 078e66dd75..466955154c 100644
--- a/keyboards/handwired/postageboard/r1/config.h
+++ b/keyboards/handwired/postageboard/r1/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0xB07D
-#define DEVICE_VER 0x0001
-#define MANUFACTURER LifeIsOnTheWire
-#define PRODUCT PostageBoard
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 3
diff --git a/keyboards/handwired/postageboard/r1/info.json b/keyboards/handwired/postageboard/r1/info.json
new file mode 100644
index 0000000000..90ac25f360
--- /dev/null
+++ b/keyboards/handwired/postageboard/r1/info.json
@@ -0,0 +1,5 @@
+{
+ "usb": {
+ "device_version": "0.0.1"
+ }
+}