summaryrefslogtreecommitdiff
path: root/keyboards/tw40
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 11:35:08 +1000
committerGitHub <noreply@github.com>2022-08-04 02:35:08 +0100
commit17176daf26ae17b8ae54312217555f1bfed782c1 (patch)
tree80f5a9dddc5588fe09964703780423e4cde43013 /keyboards/tw40
parent5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff)
downloadqmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.tar.gz
qmk_firmware-17176daf26ae17b8ae54312217555f1bfed782c1.zip
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/tw40')
-rw-r--r--keyboards/tw40/config.h7
-rw-r--r--keyboards/tw40/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/tw40/config.h b/keyboards/tw40/config.h
index 67547b247e..57307e218c 100644
--- a/keyboards/tw40/config.h
+++ b/keyboards/tw40/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 0x503D /* "P3D" */
-#define PRODUCT_ID 0x5457 /* "TW" */
-#define DEVICE_VER 0x0001
-#define MANUFACTURER KnoblesseOblige
-#define PRODUCT TW40
-
#define MATRIX_ROWS 4
#define MATRIX_COLS 14
diff --git a/keyboards/tw40/info.json b/keyboards/tw40/info.json
index 13f45e642e..68baf1819b 100644
--- a/keyboards/tw40/info.json
+++ b/keyboards/tw40/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Training Wheel 40",
+ "keyboard_name": "TW40",
+ "manufacturer": "KnoblesseOblige",
"url": "https://p3dstore.com/products/tw40-gb",
"maintainer": "KnoblesseOblige",
+ "usb": {
+ "vid": "0x503D",
+ "pid": "0x5457",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [