summaryrefslogtreecommitdiff
path: root/keyboards/ocean/wang_v2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 04:39:00 +1000
committerGitHub <noreply@github.com>2022-08-02 19:39:00 +0100
commitbe5b1a24bf650d9bc0bff4cf3b27a9c641d262fd (patch)
tree1843d23ba57633d3dec2fac7512d78fcb1447853 /keyboards/ocean/wang_v2
parent24488e043eb61e6e53dfcc2e391a1ed317aeb5c7 (diff)
Move keyboard USB IDs and strings to data driven: O (#17874)
Diffstat (limited to 'keyboards/ocean/wang_v2')
-rw-r--r--keyboards/ocean/wang_v2/config.h6
-rw-r--r--keyboards/ocean/wang_v2/info.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/ocean/wang_v2/config.h b/keyboards/ocean/wang_v2/config.h
index f5f1e9231c..a2cd557720 100644
--- a/keyboards/ocean/wang_v2/config.h
+++ b/keyboards/ocean/wang_v2/config.h
@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-#define VENDOR_ID 0x9624
-#define PRODUCT_ID 0x0004
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Ocean
-#define PRODUCT Wang V2
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 13
diff --git a/keyboards/ocean/wang_v2/info.json b/keyboards/ocean/wang_v2/info.json
index 310f448956..7a04f23e1b 100644
--- a/keyboards/ocean/wang_v2/info.json
+++ b/keyboards/ocean/wang_v2/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Wang V2",
+ "manufacturer": "Ocean",
"url": "",
"maintainer": "Ocean",
+ "usb": {
+ "vid": "0x9624",
+ "pid": "0x0004",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":0.75, "y":1, "w":1.25}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1, "w":1.75}, {"x":0.25, "y":2, "w":1.75}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2, "w":1.25}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3, "w":1.25}, {"x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":1.25}, {"x":5, "y":3, "w":2}, {"x":7, "y":3, "w":2}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}]