summaryrefslogtreecommitdiff
path: root/keyboards/handwired/dc/mc
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 17:31:44 +1000
committerGitHub <noreply@github.com>2022-07-30 17:31:44 +1000
commit2d778d2ff28ed10c43c79783e6c519f00dee1429 (patch)
treec4535d1c66c573795ac30f601cd1315dc8664824 /keyboards/handwired/dc/mc
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
downloadqmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.tar.gz
qmk_firmware-2d778d2ff28ed10c43c79783e6c519f00dee1429.zip
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/dc/mc')
-rw-r--r--keyboards/handwired/dc/mc/001/config.h7
-rw-r--r--keyboards/handwired/dc/mc/001/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/dc/mc/001/config.h b/keyboards/handwired/dc/mc/001/config.h
index 5cba80831f..db03889cc1 100644
--- a/keyboards/handwired/dc/mc/001/config.h
+++ b/keyboards/handwired/dc/mc/001/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 0x4443 // 'D' 'C'
-#define PRODUCT_ID 0x4D43 // 'M' 'C'
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Daniel Cormier
-#define PRODUCT DC MC 001
-
/*
BUTTON_MUTE = _BV(4),
BUTTON_STOP = _BV(0),
diff --git a/keyboards/handwired/dc/mc/001/info.json b/keyboards/handwired/dc/mc/001/info.json
index d9562f660e..9162b6e77e 100644
--- a/keyboards/handwired/dc/mc/001/info.json
+++ b/keyboards/handwired/dc/mc/001/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Daniel Cormier's Media Controller (v1)",
+ "keyboard_name": "DC MC 001",
+ "manufacturer": "Daniel Cormier",
"url": "https://imgur.com/a/PM9lQ",
"maintainer": "Daniel Cormier (Twitter: @danielcormier)",
+ "usb": {
+ "vid": "0x4443",
+ "pid": "0x4D43",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [