summaryrefslogtreecommitdiff
path: root/keyboards/kmac
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
parentce9bb6d39bd1a0a3622dc95b9819f1ef5b33daf7 (diff)
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')
-rw-r--r--keyboards/kmac/config.h7
-rw-r--r--keyboards/kmac/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/kmac/config.h b/keyboards/kmac/config.h
index 3bc567333e..495c612452 100644
--- a/keyboards/kmac/config.h
+++ b/keyboards/kmac/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
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 17
diff --git a/keyboards/kmac/info.json b/keyboards/kmac/info.json
index 91e7a2dedd..27e6c03524 100644
--- a/keyboards/kmac/info.json
+++ b/keyboards/kmac/info.json
@@ -1,6 +1,12 @@
{
- "keyboard_name": "kmac",
+ "keyboard_name": "KMAC",
+ "manufacturer": "KBDMania",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x4B4D",
+ "pid": "0x4143",
+ "device_version": "1.0.4"
+ },
"layouts": {
"LAYOUT_tkl_ansi": {
"layout": [