summaryrefslogtreecommitdiff
path: root/keyboards/keyhive/uno
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:39:35 +1000
committerGitHub <noreply@github.com>2022-08-20 10:39:35 +1000
commit835c971f78b5d995bb58f0889fac00aac348de52 (patch)
tree0997888e5fe5dec82133a1eec10ce425b09a0545 /keyboards/keyhive/uno
parent48792b030b754c8b3983a97071db1b09ae6353d4 (diff)
downloadqmk_firmware-835c971f78b5d995bb58f0889fac00aac348de52.tar.gz
qmk_firmware-835c971f78b5d995bb58f0889fac00aac348de52.zip
Move keyboard USB IDs and strings to data driven, pass 2: J-L (#18080)
Diffstat (limited to 'keyboards/keyhive/uno')
-rw-r--r--keyboards/keyhive/uno/info.json6
-rw-r--r--keyboards/keyhive/uno/rev1/config.h7
-rw-r--r--keyboards/keyhive/uno/rev1/info.json6
-rw-r--r--keyboards/keyhive/uno/rev2/config.h7
-rw-r--r--keyboards/keyhive/uno/rev2/info.json6
5 files changed, 17 insertions, 15 deletions
diff --git a/keyboards/keyhive/uno/info.json b/keyboards/keyhive/uno/info.json
index d426f9e426..9d39163a1b 100644
--- a/keyboards/keyhive/uno/info.json
+++ b/keyboards/keyhive/uno/info.json
@@ -1,7 +1,11 @@
{
- "keyboard_name": "Uno",
+ "manufacturer": "Broekhuijsen",
"url": "https://www.reddit.com/r/mechmarket/comments/gyijm7/gb_uno/",
"maintainer": "Snipeye",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0xACC8"
+ },
"layouts": {
"LAYOUT": {
"layout": [ {"x": 0, "y": 0 }]
diff --git a/keyboards/keyhive/uno/rev1/config.h b/keyboards/keyhive/uno/rev1/config.h
index 11c84ad2ab..279deab5bd 100644
--- a/keyboards/keyhive/uno/rev1/config.h
+++ b/keyboards/keyhive/uno/rev1/config.h
@@ -17,13 +17,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0xACC8
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Broekhuijsen
-#define PRODUCT Uno rev1
-
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
// #define RGBLIGHT_ANIMATIONS
diff --git a/keyboards/keyhive/uno/rev1/info.json b/keyboards/keyhive/uno/rev1/info.json
new file mode 100644
index 0000000000..69d6dfba0d
--- /dev/null
+++ b/keyboards/keyhive/uno/rev1/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "Uno rev1",
+ "usb": {
+ "device_version": "0.0.1"
+ }
+}
diff --git a/keyboards/keyhive/uno/rev2/config.h b/keyboards/keyhive/uno/rev2/config.h
index 37ea08c017..2fc5baaef2 100644
--- a/keyboards/keyhive/uno/rev2/config.h
+++ b/keyboards/keyhive/uno/rev2/config.h
@@ -17,13 +17,6 @@
#pragma once
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xFEED
-#define PRODUCT_ID 0xACC8
-#define DEVICE_VER 0x0002
-#define MANUFACTURER Broekhuijsen
-#define PRODUCT Uno rev2
-
#define RGBLIGHT_EFFECT_RAINBOW_MOOD
/* ENCODER */
diff --git a/keyboards/keyhive/uno/rev2/info.json b/keyboards/keyhive/uno/rev2/info.json
new file mode 100644
index 0000000000..787f306351
--- /dev/null
+++ b/keyboards/keyhive/uno/rev2/info.json
@@ -0,0 +1,6 @@
+{
+ "keyboard_name": "Uno rev2",
+ "usb": {
+ "device_version": "0.0.2"
+ }
+}