summaryrefslogtreecommitdiff
path: root/keyboards/pabile
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 17:23:15 +1000
committerGitHub <noreply@github.com>2022-08-03 17:23:15 +1000
commitb6757d2380d32b5f60f61ffc42d27c40eb219208 (patch)
tree2780145169ebdddab4eba4458956a85d91178c33 /keyboards/pabile
parent3da6575e2480d46399be01c21270c57420e0f16d (diff)
Move keyboard USB IDs and strings to data driven: P (#17875)
Diffstat (limited to 'keyboards/pabile')
-rw-r--r--keyboards/pabile/p18/config.h7
-rw-r--r--keyboards/pabile/p18/info.json8
-rw-r--r--keyboards/pabile/p40/config.h7
-rw-r--r--keyboards/pabile/p40/info.json8
-rw-r--r--keyboards/pabile/p40_ortho/config.h7
-rw-r--r--keyboards/pabile/p40_ortho/info.json7
-rw-r--r--keyboards/pabile/p42/config.h7
-rw-r--r--keyboards/pabile/p42/info.json6
8 files changed, 27 insertions, 30 deletions
diff --git a/keyboards/pabile/p18/config.h b/keyboards/pabile/p18/config.h
index 77351ca556..73c17b676a 100644
--- a/keyboards/pabile/p18/config.h
+++ b/keyboards/pabile/p18/config.h
@@ -20,13 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
-/* USB Device descriptor parameter */
-#define VENDOR_ID 0x6666
-#define PRODUCT_ID 0x6668
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Pabile
-#define PRODUCT P18 Macro Pad
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 5
diff --git a/keyboards/pabile/p18/info.json b/keyboards/pabile/p18/info.json
index 57d734ab3d..d6338182c6 100644
--- a/keyboards/pabile/p18/info.json
+++ b/keyboards/pabile/p18/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Pabile 18",
+ "keyboard_name": "P18 Macro Pad",
+ "manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
+ "usb": {
+ "vid": "0x6666",
+ "pid": "0x6668",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [
diff --git a/keyboards/pabile/p40/config.h b/keyboards/pabile/p40/config.h
index f05ef6eb26..7a15886a44 100644
--- a/keyboards/pabile/p40/config.h
+++ b/keyboards/pabile/p40/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 0x6666
-#define PRODUCT_ID 0x6666
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Pabile
-#define PRODUCT P40 Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10
diff --git a/keyboards/pabile/p40/info.json b/keyboards/pabile/p40/info.json
index 8a6c1327eb..ee7534c071 100644
--- a/keyboards/pabile/p40/info.json
+++ b/keyboards/pabile/p40/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "Pabile 40",
+ "keyboard_name": "P40",
+ "manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
+ "usb": {
+ "vid": "0x6666",
+ "pid": "0x6666",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_4x10": {
"layout": [
diff --git a/keyboards/pabile/p40_ortho/config.h b/keyboards/pabile/p40_ortho/config.h
index 4fd8e7a533..176072f022 100644
--- a/keyboards/pabile/p40_ortho/config.h
+++ b/keyboards/pabile/p40_ortho/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 0x6666
-#define PRODUCT_ID 0x6669
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Pabile
-#define PRODUCT P40 Ortho Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10
diff --git a/keyboards/pabile/p40_ortho/info.json b/keyboards/pabile/p40_ortho/info.json
index 38eb5bdb70..a630973622 100644
--- a/keyboards/pabile/p40_ortho/info.json
+++ b/keyboards/pabile/p40_ortho/info.json
@@ -1,5 +1,12 @@
{
+ "keyboard_name": "P40 Ortho",
+ "manufacturer": "Pabile",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x6666",
+ "pid": "0x6669",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_ortho_4x10": {
"layout": [
diff --git a/keyboards/pabile/p42/config.h b/keyboards/pabile/p42/config.h
index 2f7c5ce30a..e66f14c854 100644
--- a/keyboards/pabile/p42/config.h
+++ b/keyboards/pabile/p42/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 0x6666
-#define PRODUCT_ID 0x6670
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Pabile
-#define PRODUCT P42 Keyboard
-
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 11
diff --git a/keyboards/pabile/p42/info.json b/keyboards/pabile/p42/info.json
index 7cc34266d2..5c1c2c8589 100644
--- a/keyboards/pabile/p42/info.json
+++ b/keyboards/pabile/p42/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "P42",
+ "manufacturer": "Pabile",
"url": "https://pabileonline.blogspot.com/",
"maintainer": "Pabile",
+ "usb": {
+ "vid": "0x6666",
+ "pid": "0x6670",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [