summaryrefslogtreecommitdiff
path: root/keyboards/handwired/ms_sculpt_mobile
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-20 10:31:48 +1000
committerGitHub <noreply@github.com>2022-08-20 10:31:48 +1000
commit48792b030b754c8b3983a97071db1b09ae6353d4 (patch)
tree2b6d8d40e7ed59a59a41f26de00e4bf4898c02a4 /keyboards/handwired/ms_sculpt_mobile
parent39f0fb7beaaf3a1e6ac8d52db0bc51ed786fad17 (diff)
Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)
Diffstat (limited to 'keyboards/handwired/ms_sculpt_mobile')
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/astar/config.h2
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/astar/info.json3
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/config.h6
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/info.json7
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/teensy2pp/config.h2
-rw-r--r--keyboards/handwired/ms_sculpt_mobile/teensy2pp/info.json3
6 files changed, 12 insertions, 11 deletions
diff --git a/keyboards/handwired/ms_sculpt_mobile/astar/config.h b/keyboards/handwired/ms_sculpt_mobile/astar/config.h
index c34b86acb2..aafa6953c7 100644
--- a/keyboards/handwired/ms_sculpt_mobile/astar/config.h
+++ b/keyboards/handwired/ms_sculpt_mobile/astar/config.h
@@ -1,6 +1,4 @@
#pragma once
-#define PRODUCT sculpt mobile astar
-
#define MATRIX_ROW_PINS { D7, C6, D4, D0, D1, D3, D2, E2 }
#define MATRIX_COL_PINS { B4, B5, E6, B7, B6, D6, C7, F7, F6, F4, F5, F1, F0, D5, B0, B1, B2, B3 }
diff --git a/keyboards/handwired/ms_sculpt_mobile/astar/info.json b/keyboards/handwired/ms_sculpt_mobile/astar/info.json
new file mode 100644
index 0000000000..bbdfe24cf3
--- /dev/null
+++ b/keyboards/handwired/ms_sculpt_mobile/astar/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "sculpt mobile astar"
+}
diff --git a/keyboards/handwired/ms_sculpt_mobile/config.h b/keyboards/handwired/ms_sculpt_mobile/config.h
index df478e6d8a..54bc2689a2 100644
--- a/keyboards/handwired/ms_sculpt_mobile/config.h
+++ b/keyboards/handwired/ms_sculpt_mobile/config.h
@@ -19,12 +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 0x6060
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Microsoftplus
-
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 18
diff --git a/keyboards/handwired/ms_sculpt_mobile/info.json b/keyboards/handwired/ms_sculpt_mobile/info.json
index 1c171af8f3..a66f43fadc 100644
--- a/keyboards/handwired/ms_sculpt_mobile/info.json
+++ b/keyboards/handwired/ms_sculpt_mobile/info.json
@@ -1,7 +1,12 @@
{
- "keyboard_name": "MS Sculpt Mobile",
+ "manufacturer": "Microsoftplus",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x6060",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/handwired/ms_sculpt_mobile/teensy2pp/config.h b/keyboards/handwired/ms_sculpt_mobile/teensy2pp/config.h
index a69d3fd3b0..7a514a76cb 100644
--- a/keyboards/handwired/ms_sculpt_mobile/teensy2pp/config.h
+++ b/keyboards/handwired/ms_sculpt_mobile/teensy2pp/config.h
@@ -1,6 +1,4 @@
#pragma once
-#define PRODUCT sculpt mobile teensypp
-
#define MATRIX_ROW_PINS { F7, F6, F4, F5, F3, F2, F1, F0 }
#define MATRIX_COL_PINS { B7, D0, D1, D2, D3, D4, D5, D6, D7, E0, E1, C1, C0, C3, C2, C5, C4, C7 }
diff --git a/keyboards/handwired/ms_sculpt_mobile/teensy2pp/info.json b/keyboards/handwired/ms_sculpt_mobile/teensy2pp/info.json
new file mode 100644
index 0000000000..e94752a82d
--- /dev/null
+++ b/keyboards/handwired/ms_sculpt_mobile/teensy2pp/info.json
@@ -0,0 +1,3 @@
+{
+ "keyboard_name": "sculpt mobile teensypp"
+}