summaryrefslogtreecommitdiff
path: root/keyboards/ducky/one2mini
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-07-30 13:02:47 +1000
committerGitHub <noreply@github.com>2022-07-29 20:02:47 -0700
commit306e50b84cdf0aaac01838c4519209b642dee113 (patch)
tree386de8a2406202b1a0fecd51e6c932e77d5c4c62 /keyboards/ducky/one2mini
parentd1096ad440e046fb44d3ba75c0049065b1dadb60 (diff)
downloadqmk_firmware-306e50b84cdf0aaac01838c4519209b642dee113.tar.gz
qmk_firmware-306e50b84cdf0aaac01838c4519209b642dee113.zip
Move keyboard USB IDs and strings to data driven: D (#17814)
Diffstat (limited to 'keyboards/ducky/one2mini')
-rw-r--r--keyboards/ducky/one2mini/1861st/config.h7
-rw-r--r--keyboards/ducky/one2mini/1861st/info.json8
2 files changed, 7 insertions, 8 deletions
diff --git a/keyboards/ducky/one2mini/1861st/config.h b/keyboards/ducky/one2mini/1861st/config.h
index 3f5676280c..f1fcb4faa1 100644
--- a/keyboards/ducky/one2mini/1861st/config.h
+++ b/keyboards/ducky/one2mini/1861st/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 0x0416
-#define PRODUCT_ID 0x0123
-#define DEVICE_VER 0x0001
-#define MANUFACTURER Ducky
-#define PRODUCT One2mini
-
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15
diff --git a/keyboards/ducky/one2mini/1861st/info.json b/keyboards/ducky/one2mini/1861st/info.json
index 9e121fbf4b..364d803718 100644
--- a/keyboards/ducky/one2mini/1861st/info.json
+++ b/keyboards/ducky/one2mini/1861st/info.json
@@ -1,5 +1,11 @@
{
- "keyboard_name": "Ducky One 2 Mini",
+ "keyboard_name": "One 2 Mini",
+ "manufacturer": "Ducky",
+ "usb": {
+ "vid": "0x0416",
+ "pid": "0x0123",
+ "device_version": "0.0.1"
+ },
"layout_aliases": {
"LAYOUT_iso": "LAYOUT_60_iso"
},