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
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 0x444B // Duck ("DK")
#define PRODUCT_ID 0x4556 // Eagle/Viper ("EV")
#define DEVICE_VER 0x0002
#define MANUFACTURER Duck
#define PRODUCT Eagle/Viper V2
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 15

View File

@@ -1,5 +1,11 @@
{
"keyboard_name": "Eagle/Viper V2",
"manufacturer": "Duck",
"usb": {
"vid": "0x444B",
"pid": "0x4556",
"device_version": "0.0.2"
},
"layout_aliases": {
"LAYOUT_eagle": "LAYOUT_60_ansi",
"LAYOUT_viper": "LAYOUT_60_hhkb",