1
0
Fork 0

Move keyboard USB IDs and strings to data driven: D (#17814)

This commit is contained in:
Ryan 2022-07-30 13:02:47 +10:00 committed by GitHub
parent d1096ad440
commit 306e50b84c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
130 changed files with 392 additions and 460 deletions

View file

@ -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

View file

@ -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"
},

View file

@ -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 0x445B
#define PRODUCT_ID 0x07AF
#define DEVICE_VER 0x0001
#define MANUFACTURER Ducky
#define PRODUCT One2sf
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 16

View file

@ -1,6 +1,12 @@
{
"keyboard_name": "Ducky One 2 SF (DKON1967ST)",
"keyboard_name": "One 2 SF",
"manufacturer": "Ducky",
"maintainer": "f7urry",
"usb": {
"vid": "0x445B",
"pid": "0x07AF",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [