Move keyboard USB IDs and strings to data driven: O (#17874)

This commit is contained in:
Ryan
2022-08-03 04:39:00 +10:00
committed by GitHub
parent 24488e043e
commit be5b1a24bf
88 changed files with 274 additions and 313 deletions

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0012
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT AddOn
/* key matrix size */
#define MATRIX_ROWS 5
#define MATRIX_COLS 7

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "AddOn",
"manufacturer": "Ocean",
"url": "tokopedia.com/kbdksp",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0012",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0005
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Gin V2
/* key matrix size */
#define MATRIX_ROWS 8
#define MATRIX_COLS 8

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Gin V2",
"manufacturer": "Ocean",
"url": "",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0005",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0011
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Slamz
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 10

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Slamz",
"manufacturer": "Ocean",
"url": "",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0011",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0}, {"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":2, "y":3}, {"x":3, "y":3}, {"x":4, "y":3}, {"x":7, "y":3}, {"x":8, "y":3}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}]

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0010
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Stealth
/* key matrix size */
#define MATRIX_ROWS 1
#define MATRIX_COLS 3

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Stealth",
"manufacturer": "Ocean",
"url": "",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0010",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0, "w":2.25}, {"x":0, "y":1, "w":1.25}, {"x":1.25, "y":1}]

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0009
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Sus
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 3

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "SUS",
"keyboard_name": "Sus",
"manufacturer": "Ocean",
"url": " ",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0009",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT_ortho_4x3": {
"layout": [

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0008
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Wang Ergo
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Wang Ergo",
"manufacturer": "Ocean",
"url": "",
"maintainer": "oceeean",
"usb": {
"vid": "0x9624",
"pid": "0x0008",
"device_version": "0.0.1"
},
"layout_aliases": {
"LAYOUT": "LAYOUT_all"
},

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0004
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Wang V2
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 13

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Wang V2",
"manufacturer": "Ocean",
"url": "",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0004",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":1, "y":0}, {"x":2, "y":0}, {"x":3, "y":0}, {"x":4, "y":0}, {"x":5, "y":0}, {"x":6, "y":0}, {"x":7, "y":0}, {"x":8, "y":0}, {"x":9, "y":0}, {"x":10, "y":0}, {"x":11, "y":0}, {"x":12, "y":0}, {"x":13, "y":0}, {"x":0.75, "y":1, "w":1.25}, {"x":2, "y":1}, {"x":3, "y":1}, {"x":4, "y":1}, {"x":5, "y":1}, {"x":6, "y":1}, {"x":7, "y":1}, {"x":8, "y":1}, {"x":9, "y":1}, {"x":10, "y":1}, {"x":11, "y":1}, {"x":12, "y":1, "w":1.75}, {"x":0.25, "y":2, "w":1.75}, {"x":2, "y":2}, {"x":3, "y":2}, {"x":4, "y":2}, {"x":5, "y":2}, {"x":6, "y":2}, {"x":7, "y":2}, {"x":8, "y":2}, {"x":9, "y":2}, {"x":10, "y":2}, {"x":11, "y":2}, {"x":12, "y":2, "w":1.25}, {"x":0, "y":3, "w":1.25}, {"x":1.25, "y":3, "w":1.25}, {"x":2.5, "y":3, "w":1.25}, {"x":3.75, "y":3, "w":1.25}, {"x":5, "y":3, "w":2}, {"x":7, "y":3, "w":2}, {"x":9, "y":3}, {"x":10, "y":3}, {"x":11, "y":3}, {"x":12, "y":3}]

View File

@@ -18,12 +18,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "config_common.h"
#define VENDOR_ID 0x9624
#define PRODUCT_ID 0x0003
#define DEVICE_VER 0x0001
#define MANUFACTURER Ocean
#define PRODUCT Yuri
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 14

View File

@@ -1,7 +1,13 @@
{
"keyboard_name": "Yuri",
"manufacturer": "Ocean",
"url": "tokopedia.com/strat0s",
"maintainer": "Ocean",
"usb": {
"vid": "0x9624",
"pid": "0x0003",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":0, "y":0},