Move keyboard USB IDs and strings to data driven: W (#17903)

This commit is contained in:
Ryan
2022-08-06 15:49:44 +10:00
committed by GitHub
parent 660dedfb17
commit 10ad238944
209 changed files with 690 additions and 798 deletions

View File

@@ -20,14 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x574B
#define PRODUCT_ID 0x7770
#define DEVICE_VER 0x0001
#define MANUFACTURER WinKeys
#define PRODUCT Mini Winni
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 4

View File

@@ -1,6 +1,12 @@
{
"keyboard_name": "Mini Winni",
"manufacturer": "WinKeys",
"maintainer": "Matthew Dias",
"usb": {
"vid": "0x574B",
"pid": "0x7770",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_all": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}]