summaryrefslogtreecommitdiff
path: root/keyboards/buildakb
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 01:20:19 +1000
committerGitHub <noreply@github.com>2022-07-25 16:20:19 +0100
commit50c2b151b203b776bacdf48deb7606f1d6c516fd (patch)
tree99db4f8b545d9bece871361bcc53c94b517c3fb6 /keyboards/buildakb
parentd2161f113be1a63a4f913adacbdad96a2d23c31f (diff)
Move keyboard USB IDs and strings to data driven: B (#17782)
Diffstat (limited to 'keyboards/buildakb')
-rw-r--r--keyboards/buildakb/potato65/config.h7
-rw-r--r--keyboards/buildakb/potato65/info.json6
-rw-r--r--keyboards/buildakb/potato65hs/config.h7
-rw-r--r--keyboards/buildakb/potato65hs/info.json6
-rw-r--r--keyboards/buildakb/potato65s/config.h7
-rw-r--r--keyboards/buildakb/potato65s/info.json6
6 files changed, 18 insertions, 21 deletions
diff --git a/keyboards/buildakb/potato65/config.h b/keyboards/buildakb/potato65/config.h
index 4a0a17ace0..1c9b6f1549 100644
--- a/keyboards/buildakb/potato65/config.h
+++ b/keyboards/buildakb/potato65/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 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Maelkk
-#define PRODUCT Potato 65
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16
diff --git a/keyboards/buildakb/potato65/info.json b/keyboards/buildakb/potato65/info.json
index a7713ef1bd..54b560b9a5 100644
--- a/keyboards/buildakb/potato65/info.json
+++ b/keyboards/buildakb/potato65/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Potato 65",
+ "manufacturer": "Maelkk",
"url": "https://github.com/Aeonstrife/potato65",
"maintainer": "Maelkk",
+ "usb": {
+ "vid": "0x4A56",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_65_ansi_split_bs": {
"layout": [
diff --git a/keyboards/buildakb/potato65hs/config.h b/keyboards/buildakb/potato65hs/config.h
index cf565d8176..dc83f4456e 100644
--- a/keyboards/buildakb/potato65hs/config.h
+++ b/keyboards/buildakb/potato65hs/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 0x4A56
-#define PRODUCT_ID 0x0002
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Maelkk
-#define PRODUCT Potato 65 Hotswap
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/buildakb/potato65hs/info.json b/keyboards/buildakb/potato65hs/info.json
index 52ea416fa2..0ef7e9e01a 100644
--- a/keyboards/buildakb/potato65hs/info.json
+++ b/keyboards/buildakb/potato65hs/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Potato 65 Hotswap",
+ "manufacturer": "Maelkk",
"url": "https://github.com/Aeonstrife/potato65hotswap",
"maintainer": "Maelkk",
+ "usb": {
+ "vid": "0x4A56",
+ "pid": "0x0002",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_65_ansi_blocker": {
"layout": [
diff --git a/keyboards/buildakb/potato65s/config.h b/keyboards/buildakb/potato65s/config.h
index c1374558c9..6ad3183c84 100644
--- a/keyboards/buildakb/potato65s/config.h
+++ b/keyboards/buildakb/potato65s/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 0x4A56
-#define PRODUCT_ID 0x0003
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Maelkk
-#define PRODUCT Potato 65 Solderable
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/buildakb/potato65s/info.json b/keyboards/buildakb/potato65s/info.json
index 257ed6022d..1920861946 100644
--- a/keyboards/buildakb/potato65s/info.json
+++ b/keyboards/buildakb/potato65s/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Potato 65 Solderable",
+ "manufacturer": "Maelkk",
"url": "https://github.com/Aeonstrife/potato65solderable",
"maintainer": "Maelkk",
+ "usb": {
+ "vid": "0x4A56",
+ "pid": "0x0003",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [