summaryrefslogtreecommitdiff
path: root/keyboards/onekeyco
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-08-03 04:39:00 +1000
committerGitHub <noreply@github.com>2022-08-02 19:39:00 +0100
commitbe5b1a24bf650d9bc0bff4cf3b27a9c641d262fd (patch)
tree1843d23ba57633d3dec2fac7512d78fcb1447853 /keyboards/onekeyco
parent24488e043eb61e6e53dfcc2e391a1ed317aeb5c7 (diff)
downloadqmk_firmware-be5b1a24bf650d9bc0bff4cf3b27a9c641d262fd.tar.gz
qmk_firmware-be5b1a24bf650d9bc0bff4cf3b27a9c641d262fd.zip
Move keyboard USB IDs and strings to data driven: O (#17874)
Diffstat (limited to 'keyboards/onekeyco')
-rw-r--r--keyboards/onekeyco/dango40/config.h6
-rw-r--r--keyboards/onekeyco/dango40/info.json6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/onekeyco/dango40/config.h b/keyboards/onekeyco/dango40/config.h
index fceb8fb252..8ab7a5b183 100644
--- a/keyboards/onekeyco/dango40/config.h
+++ b/keyboards/onekeyco/dango40/config.h
@@ -19,12 +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 0x04D8
-#define PRODUCT_ID 0xE9B9
-#define DEVICE_VER 0x0001
-#define MANUFACTURER One Key Company
-#define PRODUCT Dango40
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 13
diff --git a/keyboards/onekeyco/dango40/info.json b/keyboards/onekeyco/dango40/info.json
index e26e92697b..4305346827 100644
--- a/keyboards/onekeyco/dango40/info.json
+++ b/keyboards/onekeyco/dango40/info.json
@@ -1,7 +1,13 @@
{
"keyboard_name": "Dango40",
+ "manufacturer": "One Key Company",
"url": "https://github.com/swiftrax",
"maintainer": "Swiftrax",
+ "usb": {
+ "vid": "0x04D8",
+ "pid": "0xE9B9",
+ "device_version": "0.0.1"
+ },
"layouts": {
"LAYOUT_all": {
"layout": [