summaryrefslogtreecommitdiff
path: root/keyboards/handwired/numpad20
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/numpad20
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/numpad20')
-rw-r--r--keyboards/handwired/numpad20/config.h7
-rw-r--r--keyboards/handwired/numpad20/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/numpad20/config.h b/keyboards/handwired/numpad20/config.h
index 4b9ca1baf3..4690cce003 100644
--- a/keyboards/handwired/numpad20/config.h
+++ b/keyboards/handwired/numpad20/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 0xBB80
-#define PRODUCT_ID 0x0504
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Hexwire
-#define PRODUCT Numpad 20
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 4
diff --git a/keyboards/handwired/numpad20/info.json b/keyboards/handwired/numpad20/info.json
index f031160e75..b6b277503a 100644
--- a/keyboards/handwired/numpad20/info.json
+++ b/keyboards/handwired/numpad20/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "numpad20 handwired",
+ "keyboard_name": "Numpad 20",
+ "manufacturer": "Hexwire",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xBB80",
+ "pid": "0x0504",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [