summaryrefslogtreecommitdiff
path: root/keyboards/treasure/type9s2
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/treasure/type9s2
parent5a631ed9ac23b58b1e58ba169e58d443ba5fad87 (diff)
Move keyboard USB IDs and strings to data driven: T (#17899)
Diffstat (limited to 'keyboards/treasure/type9s2')
-rw-r--r--keyboards/treasure/type9s2/config.h7
-rw-r--r--keyboards/treasure/type9s2/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/treasure/type9s2/config.h b/keyboards/treasure/type9s2/config.h
index a9d73f961f..ae68a415ea 100644
--- a/keyboards/treasure/type9s2/config.h
+++ b/keyboards/treasure/type9s2/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 0x5452
-#define PRODUCT_ID 0x5492
-#define DEVICE_VER 0x0001
-#define MANUFACTURER TREASURE
-#define PRODUCT TYPE-9 Series II
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 3
diff --git a/keyboards/treasure/type9s2/info.json b/keyboards/treasure/type9s2/info.json
index 68b47f46ef..388b202af0 100644
--- a/keyboards/treasure/type9s2/info.json
+++ b/keyboards/treasure/type9s2/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Treasure TYPE-9 Series II",
+ "keyboard_name": "Type-9 Series II",
+ "manufacturer": "Treasure",
"url": "http://treasuretypes.com",
"maintainer": "Treasure",
+ "usb": {
+ "vid": "0x5452",
+ "pid": "0x5492",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_3x3": {
"layout": [