summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/yang
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-28 23:12:40 +1000
committerGitHub <noreply@github.com>2022-07-28 14:12:40 +0100
commit920f9837677749541b88b02ecb245539943140e2 (patch)
treeef2d2162ccb7302a208983956e1771e1af918ee6 /keyboards/hhkb/yang
parente7affd05417a48b1e5c0948a24034227384a5d13 (diff)
Move keyboard USB IDs and strings to data driven: H (#17821)
Diffstat (limited to 'keyboards/hhkb/yang')
-rw-r--r--keyboards/hhkb/yang/config.h7
-rw-r--r--keyboards/hhkb/yang/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/hhkb/yang/config.h b/keyboards/hhkb/yang/config.h
index 693b2501bb..e1fa406a0b 100644
--- a/keyboards/hhkb/yang/config.h
+++ b/keyboards/hhkb/yang/config.h
@@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x4848 // HH = happy hacking
-#define PRODUCT_ID 0x0001 // ANSI HHKB
-#define DEVICE_VER 0x0104
-#define MANUFACTURER YANG
-#define PRODUCT HHKB BLE Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/hhkb/yang/info.json b/keyboards/hhkb/yang/info.json
index b38b8a6881..23e26fe2cb 100644
--- a/keyboards/hhkb/yang/info.json
+++ b/keyboards/hhkb/yang/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "YANG HHKB BLE",
+ "keyboard_name": "HHKB BLE",
+ "manufacturer": "YANG",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x4848",
+ "pid": "0x0001",
+ "device_version": "1.0.4"
+ },
"layouts": {
"LAYOUT_60_hhkb": {
"layout": [