summaryrefslogtreecommitdiff
path: root/keyboards/mountainblocks
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:15:43 +1000
committerGitHub <noreply@github.com>2022-08-03 17:15:43 +1000
commit3da6575e2480d46399be01c21270c57420e0f16d (patch)
treef3438c1402e56256dd0c2bdd0775711edae56043 /keyboards/mountainblocks
parent1b92c204c10594fce6a715710c277a748a4fdc68 (diff)
downloadqmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.tar.gz
qmk_firmware-3da6575e2480d46399be01c21270c57420e0f16d.zip
Move keyboard USB IDs and strings to data driven: M (#17859)
Diffstat (limited to 'keyboards/mountainblocks')
-rw-r--r--keyboards/mountainblocks/mb17/config.h7
-rw-r--r--keyboards/mountainblocks/mb17/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/mountainblocks/mb17/config.h b/keyboards/mountainblocks/mb17/config.h
index 9667d9e551..820c371693 100644
--- a/keyboards/mountainblocks/mb17/config.h
+++ b/keyboards/mountainblocks/mb17/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 0x4D42
-#define PRODUCT_ID 0x0017
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Mountainblocks
-#define PRODUCT MB17
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
diff --git a/keyboards/mountainblocks/mb17/info.json b/keyboards/mountainblocks/mb17/info.json
index b3bf74cdb2..46f1133aad 100644
--- a/keyboards/mountainblocks/mb17/info.json
+++ b/keyboards/mountainblocks/mb17/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "MB17",
+ "manufacturer": "Mountainblocks",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x4D42",
+ "pid": "0x0017",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_numpad_5x4": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":1, "h":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":0, "y":4, "w":2}, {"x":2, "y":4}, {"x":3, "y":3, "h":2}]