summaryrefslogtreecommitdiffstats
path: root/keyboards/wekey
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-06 15:49:44 +1000
committerGitHub <noreply@github.com>2022-08-06 15:49:44 +1000
commit10ad2389442c00c32714f6e9a6766e9e7bdec2c2 (patch)
treeb10a67eaa4fcc2f8a990aa6cd951bd187312bef8 /keyboards/wekey
parent660dedfb176314c9a449c719b98acf9651968ce4 (diff)
Move keyboard USB IDs and strings to data driven: W (#17903)
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": [