summaryrefslogtreecommitdiff
path: root/keyboards/kmac_pad
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/kmac_pad
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/kmac_pad')
-rw-r--r--keyboards/kmac_pad/config.h7
-rw-r--r--keyboards/kmac_pad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/kmac_pad/config.h b/keyboards/kmac_pad/config.h
index 189f2f9c08..3d238dbfe9 100644
--- a/keyboards/kmac_pad/config.h
+++ b/keyboards/kmac_pad/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 0x4B4D // KM
-#define PRODUCT_ID 0x4143 // AC
-#define DEVICE_VER 0x0104
-#define MANUFACTURER KBDMania
-#define PRODUCT KMAC PAD
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/kmac_pad/info.json b/keyboards/kmac_pad/info.json
index 26bb3b66d9..2ce217d70a 100644
--- a/keyboards/kmac_pad/info.json
+++ b/keyboards/kmac_pad/info.json
@@ -1,6 +1,12 @@
{
"keyboard_name": "KMAC PAD",
+ "manufacturer": "KBDMania",
"maintainer": "talsu",
+ "usb": {
+ "vid": "0x4B4D",
+ "pid": "0x4143",
+ "device_version": "1.0.4"
+ },
"layouts": {
"LAYOUT": {
"layout": [