summaryrefslogtreecommitdiff
path: root/keyboards/keyhive/maypad
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:03:47 +1000
committerGitHub <noreply@github.com>2022-08-03 17:03:47 +1000
commit1b92c204c10594fce6a715710c277a748a4fdc68 (patch)
tree0b238d2ae2b06f29ad9e0db04e698b39d259e689 /keyboards/keyhive/maypad
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
downloadqmk_firmware-1b92c204c10594fce6a715710c277a748a4fdc68.tar.gz
qmk_firmware-1b92c204c10594fce6a715710c277a748a4fdc68.zip
Move keyboard USB IDs and strings to data driven: K (#17846)
Co-authored-by: James Young <18669334+noroadsleft@users.noreply.github.com>
Diffstat (limited to 'keyboards/keyhive/maypad')
-rw-r--r--keyboards/keyhive/maypad/config.h7
-rw-r--r--keyboards/keyhive/maypad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/keyhive/maypad/config.h b/keyboards/keyhive/maypad/config.h
index b85053888f..d7bc4b4200 100644
--- a/keyboards/keyhive/maypad/config.h
+++ b/keyboards/keyhive/maypad/config.h
@@ -16,13 +16,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4B48 //KH for Keyhive
-#define PRODUCT_ID 0x4D50 // MP
-#define DEVICE_VER 0x0001
-#define MANUFACTURER KeyHive
-#define PRODUCT maypad
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
diff --git a/keyboards/keyhive/maypad/info.json b/keyboards/keyhive/maypad/info.json
index 91a3eeeb09..3001bae5b5 100644
--- a/keyboards/keyhive/maypad/info.json
+++ b/keyboards/keyhive/maypad/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "maypad",
+ "manufacturer": "KeyHive",
"url": "https://keyhive.xyz/shop/may-pad",
"maintainer": "codybender",
+ "usb": {
+ "vid": "0x4B48",
+ "pid": "0x4D50",
+ "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}]