Move keyboard USB IDs and strings to data driven: Z (#17927)

This commit is contained in:
Ryan
2022-08-06 18:59:13 +10:00
committed by GitHub
parent fb19e14048
commit 0ff8c4f6fd
22 changed files with 70 additions and 81 deletions

View File

@@ -18,13 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
/* USB Device descriptor parameter */
#define VENDOR_ID 0x7A74
#define PRODUCT_ID 0x0001
#define DEVICE_VER 0x0001
#define MANUFACTURER zigotica
#define PRODUCT z12
#define ENCODERS_PAD_A { B5, B6 }
#define ENCODERS_PAD_B { B4, B2 }

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "z12",
"manufacturer": "zigotica",
"url": "https://github.com/zigotica/mechanical-keyboards/tree/main/z12",
"maintainer": "@zigotica",
"usb": {
"vid": "0x7A74",
"pid": "0x0001",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [