summaryrefslogtreecommitdiff
path: root/keyboards/3keyecosystem/2key2
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-03-14 10:54:49 +1100
committerGitHub <noreply@github.com>2022-03-13 23:54:49 +0000
commitc0f417911703738b3ede14b87be5c4a39db07016 (patch)
treef828fc66a81cad7d79def8399af9fc932fa3a9fb /keyboards/3keyecosystem/2key2
parentdf3770551a4dcbf8188a16453dd64fe1787f83d8 (diff)
downloadqmk_firmware-c0f417911703738b3ede14b87be5c4a39db07016.tar.gz
qmk_firmware-c0f417911703738b3ede14b87be5c4a39db07016.zip
Move keyboard USB IDs and strings to data driven: 0-9 (#16481)
Diffstat (limited to 'keyboards/3keyecosystem/2key2')
-rw-r--r--keyboards/3keyecosystem/2key2/config.h7
-rw-r--r--keyboards/3keyecosystem/2key2/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/3keyecosystem/2key2/config.h b/keyboards/3keyecosystem/2key2/config.h
index 4ca0e830ee..58010eea55 100644
--- a/keyboards/3keyecosystem/2key2/config.h
+++ b/keyboards/3keyecosystem/2key2/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 0x1209
-#define PRODUCT_ID 0x3304
-#define DEVICE_VER 0x0001
-#define MANUFACTURER 3-Key-Ecosystem
-#define PRODUCT 2key2
-
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 2
diff --git a/keyboards/3keyecosystem/2key2/info.json b/keyboards/3keyecosystem/2key2/info.json
index 49caf91b5a..79e999cc16 100644
--- a/keyboards/3keyecosystem/2key2/info.json
+++ b/keyboards/3keyecosystem/2key2/info.json
@@ -1,7 +1,13 @@
{
- "keyboard_name": "3-Key-Ecosystem 2key2: 2x1 macro-keyboard",
+ "keyboard_name": "2key2",
+ "manufacturer": "3-Key-Ecosystem",
"url": "https://github.com/softplus/3keyecosystem/tree/main/2key2",
"maintainer": "softplus",
+ "usb": {
+ "vid": "0x1209",
+ "pid": "0x3304",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT": {
"layout": [