summaryrefslogtreecommitdiff
path: root/keyboards/catch22
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-26 09:04:09 +1000
committerGitHub <noreply@github.com>2022-07-26 00:04:09 +0100
commita939293aca697cb263f4972dbb1521d273fbf499 (patch)
treec582d4bf0a5937618d0f5cc12c6f70068bab56a5 /keyboards/catch22
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
downloadqmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.tar.gz
qmk_firmware-a939293aca697cb263f4972dbb1521d273fbf499.zip
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/catch22')
-rw-r--r--keyboards/catch22/config.h7
-rw-r--r--keyboards/catch22/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/catch22/config.h b/keyboards/catch22/config.h
index 5a3154dc46..8deead431c 100644
--- a/keyboards/catch22/config.h
+++ b/keyboards/catch22/config.h
@@ -18,13 +18,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 0xCA22
-#define DEVICE_VER 0x0001
-#define MANUFACTURER rockydbull
-#define PRODUCT Catch22 Hotswap Macropad
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 5
diff --git a/keyboards/catch22/info.json b/keyboards/catch22/info.json
index 94e2128536..c77a0f5394 100644
--- a/keyboards/catch22/info.json
+++ b/keyboards/catch22/info.json
@@ -1,5 +1,11 @@
{
- "keyboard_name": "catch22",
+ "keyboard_name": "Catch22 Hotswap Macropad",
+ "manufacturer": "rockydbull",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0xCA22",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"label":"A", "x":1, "y":0}, {"label":"B", "x":2, "y":0}, {"label":"C", "x":3, "y":0}, {"label":"D", "x":4, "y":0}, {"label":"E", "x":1, "y":1}, {"label":"F", "x":2, "y":1}, {"label":"G", "x":3, "y":1}, {"label":"H", "x":4, "y":1}, {"label":"I", "x":0, "y":2}, {"label":"J", "x":1, "y":2}, {"label":"K", "x":2, "y":2}, {"label":"L", "x":3, "y":2}, {"label":"M", "x":4, "y":2}, {"label":"1", "x":0, "y":3, "h":2}, {"label":"N", "x":1, "y":3}, {"label":"O", "x":2, "y":3}, {"label":"P", "x":3, "y":3}, {"label":"Q", "x":4, "y":3}, {"label":"R", "x":1, "y":4}, {"label":"S", "x":2, "y":4}, {"label":"T", "x":3, "y":4}, {"label":"U", "x":4, "y":4}]