diff options
author | Ryan <fauxpark@gmail.com> | 2022-07-30 17:31:44 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-30 17:31:44 +1000 |
commit | 2d778d2ff28ed10c43c79783e6c519f00dee1429 (patch) | |
tree | c4535d1c66c573795ac30f601cd1315dc8664824 /keyboards/handwired/hnah40 | |
parent | 1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff) |
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/hnah40')
-rw-r--r-- | keyboards/handwired/hnah40/config.h | 7 | ||||
-rw-r--r-- | keyboards/handwired/hnah40/info.json | 6 |
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/handwired/hnah40/config.h b/keyboards/handwired/hnah40/config.h index 123c4ca38a..8080cf1138 100644 --- a/keyboards/handwired/hnah40/config.h +++ b/keyboards/handwired/hnah40/config.h @@ -18,13 +18,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 0x0002 -#define MANUFACTURER HnahKB -#define PRODUCT Hnah40 - /* key matrix size */ #define MATRIX_ROWS 4 #define MATRIX_COLS 11 diff --git a/keyboards/handwired/hnah40/info.json b/keyboards/handwired/hnah40/info.json index df95f0bf94..e4ca3fbb84 100644 --- a/keyboards/handwired/hnah40/info.json +++ b/keyboards/handwired/hnah40/info.json @@ -1,7 +1,13 @@ { "keyboard_name": "Hnah40", + "manufacturer": "HnahKB", "url": "https://github.com/vuhopkep/PCB/tree/master/Hnah40-Atmega328p/PCB_V1/PCB", "maintainer": "HnahKB", + "usb": { + "vid": "0xFEED", + "pid": "0x0000", + "device_version": "0.0.2" + }, "layouts": { "LAYOUT": { "layout": [ |