summaryrefslogtreecommitdiff
path: root/keyboards/swiftrax/retropad
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-04 08:12:37 +1000
committerGitHub <noreply@github.com>2022-08-04 08:12:37 +1000
commita8744b163074457253da2c63affd3b4cceefe04a (patch)
treea2410a2476a6dfb0dd51f15eebfc360c8238b413 /keyboards/swiftrax/retropad
parentb40c03140e5da1edac2faa2b672a84ea28d0a7c1 (diff)
Move keyboard USB IDs and strings to data driven: S (#17889)
Diffstat (limited to 'keyboards/swiftrax/retropad')
-rw-r--r--keyboards/swiftrax/retropad/config.h7
-rw-r--r--keyboards/swiftrax/retropad/info.json6
2 files changed, 6 insertions, 7 deletions
diff --git a/keyboards/swiftrax/retropad/config.h b/keyboards/swiftrax/retropad/config.h
index e604eda419..2031595fec 100644
--- a/keyboards/swiftrax/retropad/config.h
+++ b/keyboards/swiftrax/retropad/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 0x04D8
-#define PRODUCT_ID 0xEB0C
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Swiftrax
-#define PRODUCT Retropad
-
/* key matrix size */
#define MATRIX_ROWS 3
#define MATRIX_COLS 2
diff --git a/keyboards/swiftrax/retropad/info.json b/keyboards/swiftrax/retropad/info.json
index 6148e95edb..4e3137edb0 100644
--- a/keyboards/swiftrax/retropad/info.json
+++ b/keyboards/swiftrax/retropad/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Retropad",
+ "manufacturer": "Swiftrax",
"url": "https://github.com/swiftrax",
"maintainer": "swiftrax",
+ "usb": {
+ "vid": "0x04D8",
+ "pid": "0xEB0C",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"0,1", "x":0.5, "y":0}, {"label":"1,0", "x":0, "y":1.5}, {"label":"1,1", "x":1, "y":1.5}, {"label":"2,0", "x":0, "y":2.5}, {"label":"2,1", "x":1, "y":2.5}]