summaryrefslogtreecommitdiff
path: root/keyboards/handwired/ibm122m
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/ibm122m
parent1c6b0391b4685a2d6e9b8ad9fc3a88c5ad5ea31c (diff)
Move keyboard USB IDs and strings to data driven: handwired (#17822)
Diffstat (limited to 'keyboards/handwired/ibm122m')
-rw-r--r--keyboards/handwired/ibm122m/config.h7
-rw-r--r--keyboards/handwired/ibm122m/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/handwired/ibm122m/config.h b/keyboards/handwired/ibm122m/config.h
index cf65a8b909..9c9b7a09a9 100644
--- a/keyboards/handwired/ibm122m/config.h
+++ b/keyboards/handwired/ibm122m/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 IBM
-#define PRODUCT IBM Model M 122 key
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 20
diff --git a/keyboards/handwired/ibm122m/info.json b/keyboards/handwired/ibm122m/info.json
index 71f216d32f..970aa57240 100644
--- a/keyboards/handwired/ibm122m/info.json
+++ b/keyboards/handwired/ibm122m/info.json
@@ -1,6 +1,12 @@
{
- "keyboard_name": "IBM Model M 122-key",
+ "keyboard_name": "IBM Model M 122 key",
+ "manufacturer": "IBM",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x0000",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [