summaryrefslogtreecommitdiff
path: root/keyboards/wekey/we27
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/we27
parent660dedfb176314c9a449c719b98acf9651968ce4 (diff)
Move keyboard USB IDs and strings to data driven: W (#17903)
Diffstat (limited to 'keyboards/wekey/we27')
-rw-r--r--keyboards/wekey/we27/config.h7
-rw-r--r--keyboards/wekey/we27/info.json8
2 files changed, 7 insertions, 8 deletions
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": [