summaryrefslogtreecommitdiffstats
path: root/keyboards/yoichiro
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 18:52:13 +1000
committerGitHub <noreply@github.com>2022-08-06 18:52:13 +1000
commitfb19e140481ecc360737420850d2d84c67a3d047 (patch)
tree85a46a472375c62bca0e25aaf7c309add2da9706 /keyboards/yoichiro
parent0e3cc6af12ad0337574280f783ee118a79c6ea55 (diff)
Move keyboard USB IDs and strings to data driven: Y (#17926)
Diffstat (limited to 'keyboards/yoichiro')
-rw-r--r--keyboards/yoichiro/lunakey_macro/config.h7
-rw-r--r--keyboards/yoichiro/lunakey_macro/info.json6
-rw-r--r--keyboards/yoichiro/lunakey_mini/config.h7
-rw-r--r--keyboards/yoichiro/lunakey_mini/info.json6
4 files changed, 12 insertions, 14 deletions
diff --git a/keyboards/yoichiro/lunakey_macro/config.h b/keyboards/yoichiro/lunakey_macro/config.h
index 1b9449b822..f493155182 100644
--- a/keyboards/yoichiro/lunakey_macro/config.h
+++ b/keyboards/yoichiro/lunakey_macro/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 0x5954 // "YT" - Yoichiro Tanaka
-#define PRODUCT_ID 0x0002
-#define DEVICE_VER 0x0001
-#define MANUFACTURER yoichiro
-#define PRODUCT Lunakey Macro
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 4
diff --git a/keyboards/yoichiro/lunakey_macro/info.json b/keyboards/yoichiro/lunakey_macro/info.json
index 27996bdbbd..f25d0ba72a 100644
--- a/keyboards/yoichiro/lunakey_macro/info.json
+++ b/keyboards/yoichiro/lunakey_macro/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Lunakey Macro",
+ "manufacturer": "yoichiro",
"url": "",
"maintainer": "Yoichiro Tanaka",
+ "usb": {
+ "vid": "0x5954",
+ "pid": "0x0002",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/yoichiro/lunakey_mini/config.h b/keyboards/yoichiro/lunakey_mini/config.h
index da75f3be5f..54cab3a657 100644
--- a/keyboards/yoichiro/lunakey_mini/config.h
+++ b/keyboards/yoichiro/lunakey_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 0x5954 // "YT" - Yoichiro Tanaka
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER yoichiro
-#define PRODUCT Lunakey Mini
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 6
diff --git a/keyboards/yoichiro/lunakey_mini/info.json b/keyboards/yoichiro/lunakey_mini/info.json
index a41c557ab4..cf458ad5f2 100644
--- a/keyboards/yoichiro/lunakey_mini/info.json
+++ b/keyboards/yoichiro/lunakey_mini/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Lunakey Mini",
+ "manufacturer": "yoichiro",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x5954",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_split_3x6_4": {
"layout": [