Move keyboard USB IDs and strings to data driven: H (#17821)

This commit is contained in:
Ryan
2022-07-28 23:12:40 +10:00
committed by GitHub
parent e7affd0541
commit 920f983767
98 changed files with 316 additions and 368 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 0xFEED
#define PRODUCT_ID 0x3060
#define DEVICE_VER 0x0001
#define MANUFACTURER riconken
#define PRODUCT hifumi
/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "hifumi",
"manufacturer": "riconken",
"url": "https://github.com/zk-phi/1x2x3-keyboard",
"maintainer": "riconken",
"usb": {
"vid": "0xFEED",
"pid": "0x3060",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"label":"F5", "x":0, "y":0}, {"label":"Up", "x":1, "y":0}, {"label":"PrSc", "x":2, "y":0}, {"label":"Left", "x":0, "y":1}, {"label":"Down", "x":1, "y":1}, {"label":"Right", "x":2, "y":1}]