summaryrefslogtreecommitdiffstats
path: root/keyboards/keyprez
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/keyprez
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/keyprez')
-rw-r--r--keyboards/keyprez/bison/config.h7
-rw-r--r--keyboards/keyprez/bison/info.json6
-rw-r--r--keyboards/keyprez/corgi/config.h7
-rw-r--r--keyboards/keyprez/corgi/info.json6
-rw-r--r--keyboards/keyprez/rhino/config.h7
-rw-r--r--keyboards/keyprez/rhino/info.json6
-rw-r--r--keyboards/keyprez/unicorn/config.h7
-rw-r--r--keyboards/keyprez/unicorn/info.json6
8 files changed, 24 insertions, 28 deletions
diff --git a/keyboards/keyprez/bison/config.h b/keyboards/keyprez/bison/config.h
index b98cbc1be1..727d5fc105 100644
--- a/keyboards/keyprez/bison/config.h
+++ b/keyboards/keyprez/bison/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 0x0000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER csandven
-#define PRODUCT bison
-
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 8
diff --git a/keyboards/keyprez/bison/info.json b/keyboards/keyprez/bison/info.json
index 66a9755946..36aeb27a10 100644
--- a/keyboards/keyprez/bison/info.json
+++ b/keyboards/keyprez/bison/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "bison",
+ "manufacturer": "csandven",
"url": "",
"maintainer": "Christian Sandven",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/keyprez/corgi/config.h b/keyboards/keyprez/corgi/config.h
index a3ebf2747f..96ce6b0d62 100644
--- a/keyboards/keyprez/corgi/config.h
+++ b/keyboards/keyprez/corgi/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 0x0000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Christian Sandven
-#define PRODUCT corgi
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 7
diff --git a/keyboards/keyprez/corgi/info.json b/keyboards/keyprez/corgi/info.json
index 04d89e6b1b..f2b9c8f722 100644
--- a/keyboards/keyprez/corgi/info.json
+++ b/keyboards/keyprez/corgi/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "corgi",
+ "manufacturer": "Christian Sandven",
"url": "",
"maintainer": "Christian Sandven",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/keyprez/rhino/config.h b/keyboards/keyprez/rhino/config.h
index 54077ac939..16782aad01 100644
--- a/keyboards/keyprez/rhino/config.h
+++ b/keyboards/keyprez/rhino/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 0x0000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Christian Sandven
-#define PRODUCT rhino
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 7
diff --git a/keyboards/keyprez/rhino/info.json b/keyboards/keyprez/rhino/info.json
index fbe403fc35..1ad313854d 100644
--- a/keyboards/keyprez/rhino/info.json
+++ b/keyboards/keyprez/rhino/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "rhino",
+ "manufacturer": "Christian Sandven",
"url": "",
"maintainer": "Christian Sandven",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_2x2u": {
"layout": [
diff --git a/keyboards/keyprez/unicorn/config.h b/keyboards/keyprez/unicorn/config.h
index 44eadb5bfb..57333658d8 100644
--- a/keyboards/keyprez/unicorn/config.h
+++ b/keyboards/keyprez/unicorn/config.h
@@ -5,13 +5,6 @@
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6B7A
-#define PRODUCT_ID 0x7563
-#define DEVICE_VER 0x0001
-#define MANUFACTURER keyprez
-#define PRODUCT unicorn
-
/* key matrix size */
#define MATRIX_ROWS 12
#define MATRIX_COLS 8
diff --git a/keyboards/keyprez/unicorn/info.json b/keyboards/keyprez/unicorn/info.json
index ff14396f2a..90a81b8cc8 100644
--- a/keyboards/keyprez/unicorn/info.json
+++ b/keyboards/keyprez/unicorn/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Unicorn",
+ "manufacturer": "Keyprez",
"url": "",
"maintainer": "Keyprez",
+ "usb": {
+ "vid": "0x6B7A",
+ "pid": "0x7563",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [