summaryrefslogtreecommitdiff
path: root/keyboards/cannonkeys/balance
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 09:04:09 +1000
committerGitHub <noreply@github.com>2022-07-26 00:04:09 +0100
commita939293aca697cb263f4972dbb1521d273fbf499 (patch)
treec582d4bf0a5937618d0f5cc12c6f70068bab56a5 /keyboards/cannonkeys/balance
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
downloadqmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.tar.gz
qmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.zip
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/cannonkeys/balance')
-rw-r--r--keyboards/cannonkeys/balance/config.h7
-rw-r--r--keyboards/cannonkeys/balance/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/cannonkeys/balance/config.h b/keyboards/cannonkeys/balance/config.h
index a16e9ea072..618dd57621 100644
--- a/keyboards/cannonkeys/balance/config.h
+++ b/keyboards/cannonkeys/balance/config.h
@@ -17,13 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0xCA04
-#define PRODUCT_ID 0xBA77
-#define DEVICE_VER 0x0001
-#define MANUFACTURER CannonKeys
-#define PRODUCT Balance
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 20
diff --git a/keyboards/cannonkeys/balance/info.json b/keyboards/cannonkeys/balance/info.json
index 9aa79c51c6..3587ab7ea5 100644
--- a/keyboards/cannonkeys/balance/info.json
+++ b/keyboards/cannonkeys/balance/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Balance",
+ "manufacturer": "CannonKeys",
"url": "https://cannonkeys.com",
"maintainer": "awkannan",
+ "usb": {
+ "vid": "0xCA04",
+ "pid": "0xBA77",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [