summaryrefslogtreecommitdiff
path: root/keyboards/arrayperipherals
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 10:52:18 +1000
committerGitHub <noreply@github.com>2022-07-26 01:52:18 +0100
commit674422eb13a4f5c9c8238629e42f4fc1d7641ede (patch)
treea6bd07b6866ea0bb189c05e2bf63cbfa20dc5bc5 /keyboards/arrayperipherals
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/arrayperipherals')
-rw-r--r--keyboards/arrayperipherals/1x4p1/config.h7
-rw-r--r--keyboards/arrayperipherals/1x4p1/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/arrayperipherals/1x4p1/config.h b/keyboards/arrayperipherals/1x4p1/config.h
index 44559be3ed..aec5a143ee 100644
--- a/keyboards/arrayperipherals/1x4p1/config.h
+++ b/keyboards/arrayperipherals/1x4p1/config.h
@@ -19,13 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
19 19
20#include "config_common.h" 20#include "config_common.h"
21 21
22/* USB Device descriptor parameter */
23#define VENDOR_ID 0x4152 // "AR"
24#define PRODUCT_ID 0x4F46 // "OF"
25#define DEVICE_VER 0x0001
26#define MANUFACTURER Array Peripherals
27#define PRODUCT [1x4] + 1 Macropad
28
29/* key matrix size */ 22/* key matrix size */
30#define MATRIX_ROWS 1 23#define MATRIX_ROWS 1
31#define MATRIX_COLS 5 24#define MATRIX_COLS 5
diff --git a/keyboards/arrayperipherals/1x4p1/info.json b/keyboards/arrayperipherals/1x4p1/info.json
index d962cb586b..6a2e1efd1f 100644
--- a/keyboards/arrayperipherals/1x4p1/info.json
+++ b/keyboards/arrayperipherals/1x4p1/info.json
@@ -1,7 +1,13 @@
1{ 1{
2 "keyboard_name": "[1 x 4] + 1 Macropad", 2 "keyboard_name": "[1x4] + 1 Macropad",
3 "manufacturer": "Array Peripherals",
3 "url": "https://github.com/daviddoan", 4 "url": "https://github.com/daviddoan",
4 "maintainer": "David Doan", 5 "maintainer": "David Doan",
6 "usb": {
7 "vid": "0x4152",
8 "pid": "0x4F46",
9 "device_version": "0.0.1"
10 },
5 "layouts": { 11 "layouts": {
6 "LAYOUT_ortho_1x5": { 12 "LAYOUT_ortho_1x5": {
7 "layout": [ 13 "layout": [