Move keyboard USB IDs and strings to data driven, pass 2: handwired (#18079)
This commit is contained in:
@@ -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
|
||||
|
@@ -1,7 +1,12 @@
|
||||
{
|
||||
"keyboard_name": "sono1",
|
||||
"keyboard_name": "Sono1",
|
||||
"manufacturer": "ASKeyboard",
|
||||
"url": "",
|
||||
"maintainer": "DmNosachev",
|
||||
"usb": {
|
||||
"vid": "0x515A",
|
||||
"pid": "0x5331"
|
||||
},
|
||||
"layouts": {
|
||||
"LAYOUT": {
|
||||
"layout": [
|
||||
|
@@ -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 }
|
||||
|
||||
|
5
keyboards/handwired/sono1/stm32f103/info.json
Normal file
5
keyboards/handwired/sono1/stm32f103/info.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usb": {
|
||||
"device_version": "0.0.1"
|
||||
}
|
||||
}
|
@@ -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 }
|
||||
|
||||
|
5
keyboards/handwired/sono1/t2pp/info.json
Normal file
5
keyboards/handwired/sono1/t2pp/info.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"usb": {
|
||||
"device_version": "0.0.2"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user