summaryrefslogtreecommitdiff
path: root/keyboards/copenhagen_click
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/copenhagen_click
parentb6ac0ecf824bccfdc4114a0a15fc2c95b0ccd14d (diff)
Move keyboard USB IDs and strings to data driven: C (#17789)
Diffstat (limited to 'keyboards/copenhagen_click')
-rwxr-xr-xkeyboards/copenhagen_click/click_pad_v1/config.h7
-rwxr-xr-xkeyboards/copenhagen_click/click_pad_v1/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/copenhagen_click/click_pad_v1/config.h b/keyboards/copenhagen_click/click_pad_v1/config.h
index 7fc16c54fe..07e498856a 100755
--- a/keyboards/copenhagen_click/click_pad_v1/config.h
+++ b/keyboards/copenhagen_click/click_pad_v1/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 0xFEED
-#define PRODUCT_ID 0x27DB
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Copenhagen Click
-#define PRODUCT Click Pad V1
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 1
diff --git a/keyboards/copenhagen_click/click_pad_v1/info.json b/keyboards/copenhagen_click/click_pad_v1/info.json
index f684748c64..96dcb150ff 100755
--- a/keyboards/copenhagen_click/click_pad_v1/info.json
+++ b/keyboards/copenhagen_click/click_pad_v1/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "CopenhagenClickPad-V1",
+ "keyboard_name": "Click Pad V1",
+ "manufacturer": "Copenhagen Click",
"url": "http://copenhagenclick.com/ClickPad-V1/",
"maintainer": "mini-ninja-64",
+ "usb": {
+ "vid": "0xFEED",
+ "pid": "0x27DB",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}]