summaryrefslogtreecommitdiff
path: root/keyboards/handwired/hnah40rgb
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/hnah40rgb
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/hnah40rgb')
-rw-r--r--keyboards/handwired/hnah40rgb/config.h7
-rw-r--r--keyboards/handwired/hnah40rgb/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/hnah40rgb/config.h b/keyboards/handwired/hnah40rgb/config.h
index 8204550d00..916fe15a20 100644
--- a/keyboards/handwired/hnah40rgb/config.h
+++ b/keyboards/handwired/hnah40rgb/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 0xFEED
-#define PRODUCT_ID 0x0000
-#define DEVICE_VER 0x0001
-#define MANUFACTURER HnahKB
-#define PRODUCT Hnah40V2
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 11
diff --git a/keyboards/handwired/hnah40rgb/info.json b/keyboards/handwired/hnah40rgb/info.json
index 79a5ddefb2..d00935ec26 100644
--- a/keyboards/handwired/hnah40rgb/info.json
+++ b/keyboards/handwired/hnah40rgb/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Hnah40",
+ "keyboard_name": "Hnah40V2",
+ "manufacturer": "HnahKB",
"url": "",
"maintainer": "HnahKB",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [