summaryrefslogtreecommitdiff
path: root/keyboards/keyboardio
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:03:47 +1000
committerGitHub <noreply@github.com>2022-08-03 17:03:47 +1000
commit1b92c204c10594fce6a715710c277a748a4fdc68 (patch)
tree0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/keyboardio
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/keyboardio')
-rw-r--r--keyboards/keyboardio/atreus/config.h8
-rw-r--r--keyboards/keyboardio/atreus/info.json8
-rw-r--r--keyboards/keyboardio/model01/config.h7
-rw-r--r--keyboards/keyboardio/model01/info.json8
4 files changed, 14 insertions, 17 deletions
diff --git a/keyboards/keyboardio/atreus/config.h b/keyboards/keyboardio/atreus/config.h
index 74b56ceb7d..ad616634b2 100644
--- a/keyboards/keyboardio/atreus/config.h
+++ b/keyboards/keyboardio/atreus/config.h
@@ -18,14 +18,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-
-#define VENDOR_ID 0x1209
-#define PRODUCT_ID 0x2303
-#define DEVICE_VER 0x0000
-#define MANUFACTURER Keyboardio
-#define PRODUCT Atreus
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12
diff --git a/keyboards/keyboardio/atreus/info.json b/keyboards/keyboardio/atreus/info.json
index a23d81ac9d..8431c1e62d 100644
--- a/keyboards/keyboardio/atreus/info.json
+++ b/keyboards/keyboardio/atreus/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Keyboardio Atreus",
+ "keyboard_name": "Atreus",
+ "manufacturer": "Keyboardio",
"url": "",
"maintainer": "keyboardio",
+ "usb": {
+ "vid": "0x1209",
+ "pid": "0x2303",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/keyboardio/model01/config.h b/keyboards/keyboardio/model01/config.h
index 30538c56f1..2bb5cb7386 100644
--- a/keyboards/keyboardio/model01/config.h
+++ b/keyboards/keyboardio/model01/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 0x1209
-#define PRODUCT_ID 0x2301
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Keyboardio
-#define PRODUCT Model 01
-
/* key matrix size; rows are doubled for split */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/keyboardio/model01/info.json b/keyboards/keyboardio/model01/info.json
index e934a7b66d..a99ab953c7 100644
--- a/keyboards/keyboardio/model01/info.json
+++ b/keyboards/keyboardio/model01/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "model01",
+ "keyboard_name": "Model 01",
+ "manufacturer": "Keyboardio",
"url": "https://keyboard.io",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x1209",
+ "pid": "0x2301",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [