summaryrefslogtreecommitdiff
path: root/keyboards/amjkeyboard/amjpad
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/amjkeyboard/amjpad
parenta939293aca697cb263f4972dbb1521d273fbf499 (diff)
Move keyboard USB IDs and strings to data driven: A (#17781)
Diffstat (limited to 'keyboards/amjkeyboard/amjpad')
-rw-r--r--keyboards/amjkeyboard/amjpad/config.h7
-rw-r--r--keyboards/amjkeyboard/amjpad/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/amjkeyboard/amjpad/config.h b/keyboards/amjkeyboard/amjpad/config.h
index fe621b7bf3..0a885b7a36 100644
--- a/keyboards/amjkeyboard/amjpad/config.h
+++ b/keyboards/amjkeyboard/amjpad/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 0x00D8 //A+M+J
-#define PRODUCT_ID 0x6060
-#define DEVICE_VER 0x0003
-#define MANUFACTURER AMJ
-#define PRODUCT PAD
-
/* key matrix size */
#define MATRIX_ROWS 6
#define MATRIX_COLS 4
diff --git a/keyboards/amjkeyboard/amjpad/info.json b/keyboards/amjkeyboard/amjpad/info.json
index 76147716d2..456b90e049 100644
--- a/keyboards/amjkeyboard/amjpad/info.json
+++ b/keyboards/amjkeyboard/amjpad/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "AMJ Pad",
+ "keyboard_name": "PAD",
+ "manufacturer": "AMJ",
"url": "",
"maintainer": "qmk",
+ "usb": {
+ "vid": "0x00D8",
+ "pid": "0x6060",
+ "device_version": "0.0.3"
+ },
"layouts": {
"LAYOUT_numpad_6x4": {
"layout": [{"label":"k00", "x":0, "y":0}, {"label":"k01", "x":1, "y":0}, {"label":"k02", "x":2, "y":0}, {"label":"k03", "x":3, "y":0}, {"label":"k10", "x":0, "y":1}, {"label":"k11", "x":1, "y":1}, {"label":"k12", "x":2, "y":1}, {"label":"k13", "x":3, "y":1}, {"label":"k20", "x":0, "y":2}, {"label":"k21", "x":1, "y":2}, {"label":"k22", "x":2, "y":2}, {"label":"k30", "x":0, "y":3}, {"label":"k31", "x":1, "y":3}, {"label":"k32", "x":2, "y":3}, {"label":"k23", "x":3, "y":2, "h":2}, {"label":"k40", "x":0, "y":4}, {"label":"k41", "x":1, "y":4}, {"label":"k42", "x":2, "y":4}, {"label":"k50", "x":0, "y":5, "w":2}, {"label":"k52", "x":2, "y":5}, {"label":"k43", "x":3, "y":4, "h":2}]