summaryrefslogtreecommitdiff
path: root/keyboards/dc01/numpad
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/numpad
parentd1096ad440e046fb44d3ba75c0049065b1dadb60 (diff)
Move keyboard USB IDs and strings to data driven: D (#17814)
Diffstat (limited to 'keyboards/dc01/numpad')
-rw-r--r--keyboards/dc01/numpad/config.h7
-rw-r--r--keyboards/dc01/numpad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/dc01/numpad/config.h b/keyboards/dc01/numpad/config.h
index 87c73ebc21..969d97e268 100644
--- a/keyboards/dc01/numpad/config.h
+++ b/keyboards/dc01/numpad/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 0x1013
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Mechboards
-#define PRODUCT DC01 Numpad
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
diff --git a/keyboards/dc01/numpad/info.json b/keyboards/dc01/numpad/info.json
index 6a151aa93b..02158add29 100644
--- a/keyboards/dc01/numpad/info.json
+++ b/keyboards/dc01/numpad/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "DC01 Numpad",
+ "manufacturer": "Mechboards",
"url": "",
"maintainer": "Yiancar-Designs",
+ "usb": {
+ "vid": "0x8968",
+ "pid": "0x1013",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [{"label":"Num Lock", "x":0, "y":0}, {"label":"/", "x":1, "y":0}, {"label":"*", "x":2, "y":0}, {"label":"-", "x":3, "y":0}, {"label":"7", "x":0, "y":1}, {"label":"8", "x":1, "y":1}, {"label":"9", "x":2, "y":1}, {"label":"4", "x":0, "y":2}, {"label":"5", "x":1, "y":2}, {"label":"6", "x":2, "y":2}, {"label":"+", "x":3, "y":1, "h":2}, {"label":"1", "x":0, "y":3}, {"label":"2", "x":1, "y":3}, {"label":"3", "x":2, "y":3}, {"label":"0", "x":0, "y":4, "w":2}, {"label":".", "x":2, "y":4}, {"label":"Enter", "x":3, "y":3, "h":2}]