summaryrefslogtreecommitdiff
path: root/keyboards/wekey
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/wekey')
-rw-r--r--keyboards/wekey/polaris/config.h7
-rw-r--r--keyboards/wekey/polaris/info.json6
-rw-r--r--keyboards/wekey/we27/config.h7
-rw-r--r--keyboards/wekey/we27/info.json8
4 files changed, 13 insertions, 15 deletions
diff --git a/keyboards/wekey/polaris/config.h b/keyboards/wekey/polaris/config.h
index 5902c4bfc9..7df6be2684 100644
--- a/keyboards/wekey/polaris/config.h
+++ b/keyboards/wekey/polaris/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 0x5559
-#define PRODUCT_ID 0x0002
-#define DEVICE_VER 0x0001
-#define MANUFACTURER @wekey
-#define PRODUCT Polaris
-
/* key matrix size */
#define MATRIX_ROWS 10
#define MATRIX_COLS 8
diff --git a/keyboards/wekey/polaris/info.json b/keyboards/wekey/polaris/info.json
index 01626101c2..71df14da36 100644
--- a/keyboards/wekey/polaris/info.json
+++ b/keyboards/wekey/polaris/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Polaris",
+ "manufacturer": "@wekey",
"url": "",
"maintainer": "@wekey.dev",
+ "usb": {
+ "vid": "0x5559",
+ "pid": "0x0002",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [
diff --git a/keyboards/wekey/we27/config.h b/keyboards/wekey/we27/config.h
index 9420a4d06a..9d7c298863 100644
--- a/keyboards/wekey/we27/config.h
+++ b/keyboards/wekey/we27/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 0x5559
-#define PRODUCT_ID 0x0001
-#define DEVICE_VER 0x0001
-#define MANUFACTURER @wekey
-#define PRODUCT We27
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 5
diff --git a/keyboards/wekey/we27/info.json b/keyboards/wekey/we27/info.json
index 8e1a8595a0..b299449ff1 100644
--- a/keyboards/wekey/we27/info.json
+++ b/keyboards/wekey/we27/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "we27",
+ "keyboard_name": "We27",
+ "manufacturer": "@wekey",
"url": "",
"maintainer": "@wekey.dev",
+ "usb": {
+ "vid": "0x5559",
+ "pid": "0x0001",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_numpad_6x5": {
"layout": [