summaryrefslogtreecommitdiff
path: root/keyboards/dc01/arrow
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 13:02:47 +1000
committerGitHub <noreply@github.com>2022-07-29 20:02:47 -0700
commit306e50b84cdf0aaac01838c4519209b642dee113 (patch)
tree386de8a2406202b1a0fecd51e6c932e77d5c4c62 /keyboards/dc01/arrow
parentd1096ad440e046fb44d3ba75c0049065b1dadb60 (diff)
downloadqmk_firmware-306e50b84cdf0aaac01838c4519209b642dee113.tar.gz
qmk_firmware-306e50b84cdf0aaac01838c4519209b642dee113.zip
Move keyboard USB IDs and strings to data driven: D (#17814)
Diffstat (limited to 'keyboards/dc01/arrow')
-rw-r--r--keyboards/dc01/arrow/config.h7
-rw-r--r--keyboards/dc01/arrow/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/dc01/arrow/config.h b/keyboards/dc01/arrow/config.h
index e240d71e8e..0dc107bd51 100644
--- a/keyboards/dc01/arrow/config.h
+++ b/keyboards/dc01/arrow/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 0x8968
-#define PRODUCT_ID 0x1012
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Mechboards
-#define PRODUCT DC01 Arrow
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 3
diff --git a/keyboards/dc01/arrow/info.json b/keyboards/dc01/arrow/info.json
index fccf577941..007e83d5cf 100644
--- a/keyboards/dc01/arrow/info.json
+++ b/keyboards/dc01/arrow/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "DC01 Arrow Cluster",
+ "keyboard_name": "DC01 Arrow",
+ "manufacturer": "Mechboards",
"url": "",
"maintainer": "Yiancar-Designs",
+ "usb": {
+ "vid": "0x8968",
+ "pid": "0x1012",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [{"label":"Insert", "x":0, "y":0}, {"label":"Home", "x":1, "y":0}, {"label":"PgUp", "x":2, "y":0}, {"label":"Delete", "x":0, "y":1}, {"label":"End", "x":1, "y":1}, {"label":"PgDn", "x":2, "y":1}, {"label":"\u2191", "x":1, "y":3}, {"label":"\u2190", "x":0, "y":4}, {"label":"\u2193", "x":1, "y":4}, {"label":"\u2192", "x":2, "y":4}]