Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)

This commit is contained in:
Ryan
2022-08-20 10:31:48 +10:00
committed by GitHub
parent 39f0fb7bea
commit 48792b030b
121 changed files with 309 additions and 293 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 0x515A // "QZ"
#define PRODUCT_ID 0x5331 // "S1"
#define DEVICE_VER 0x0001
#define MANUFACTURER ASKeyboard
#define PRODUCT Sono1
/* key matrix size */
#define MATRIX_ROWS 15
#define MATRIX_COLS 8

View File

@@ -1,7 +1,12 @@
{
"keyboard_name": "sono1",
"keyboard_name": "Sono1",
"manufacturer": "ASKeyboard",
"url": "",
"maintainer": "DmNosachev",
"usb": {
"vid": "0x515A",
"pid": "0x5331"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#undef DEVICE_VER
#define DEVICE_VER 0x0001
#define MATRIX_ROW_PINS { A5, B3, A9, A10, B13, B14, B15, A8, B7, B8, B9, C13, A15, A0, A1 }
#define MATRIX_COL_PINS { A4, A3, B11, B10, B1, B0, A7, A6 }

View File

@@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.1"
}
}

View File

@@ -19,10 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#undef DEVICE_VER
#define DEVICE_VER 0x0002
#define MATRIX_ROW_PINS { F7, F6, F5, F4, F3, F2, F1, F0, D7, B7, D0, D1, D2, D3, D4 }
#define MATRIX_COL_PINS { C6, C5, C4, C3, C2, C1, C0, E1 }

View File

@@ -0,0 +1,5 @@
{
"usb": {
"device_version": "0.0.2"
}
}