summaryrefslogtreecommitdiff
path: root/keyboards/hhkb/ansi
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/ansi
parente7affd05417a48b1e5c0948a24034227384a5d13 (diff)
Move keyboard USB IDs and strings to data driven: H (#17821)
Diffstat (limited to 'keyboards/hhkb/ansi')
-rw-r--r--keyboards/hhkb/ansi/config.h7
-rw-r--r--keyboards/hhkb/ansi/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/hhkb/ansi/config.h b/keyboards/hhkb/ansi/config.h
index 8307fc1679..f2ba9fd74a 100644
--- a/keyboards/hhkb/ansi/config.h
+++ b/keyboards/hhkb/ansi/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 0x4848 // HH = happy hacking
-#define PRODUCT_ID 0x0001 // ANSI HHKB
-#define DEVICE_VER 0x0104
-#define MANUFACTURER q.m.k
-#define PRODUCT HHKB mod
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8
diff --git a/keyboards/hhkb/ansi/info.json b/keyboards/hhkb/ansi/info.json
index d2a6e42318..fdc8363141 100644
--- a/keyboards/hhkb/ansi/info.json
+++ b/keyboards/hhkb/ansi/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "HHKB",
+ "keyboard_name": "ANSI",
+ "manufacturer": "HHKB",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x4848",
+ "pid": "0x0001",
+ "device_version": "1.0.4"
+ },
"layouts": {
"LAYOUT": {
"layout": [