1
0
Fork 0

Move keyboard USB IDs and strings to data driven: handwired (#17822)

This commit is contained in:
Ryan 2022-07-30 17:31:44 +10:00 committed by GitHub
parent 1c6b0391b4
commit 2d778d2ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
327 changed files with 1044 additions and 1192 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 0x04D8
#define PRODUCT_ID 0xEAB1
#define DEVICE_VER 0x0001
#define MANUFACTURER Swiftrax
#define PRODUCT UnSplit
/* key matrix size */
#define MATRIX_ROWS 4
#define MATRIX_COLS 12

View file

@ -1,7 +1,13 @@
{
"keyboard_name": "UnSplit",
"manufacturer": "Swiftrax",
"url": "github.com/swiftrax",
"maintainer": "swiftrax",
"usb": {
"vid": "0x04D8",
"pid": "0xEAB1",
"device_version": "0.0.1"
},
"layouts": {
"LAYOUT": {
"layout": [{"x":3, "y":0.25}, {"x":13, "y":0.25}, {"x":2, "y":0.5}, {"x":4, "y":0.5}, {"x":12, "y":0.5}, {"x":14, "y":0.5}, {"x":5, "y":0.625}, {"x":11, "y":0.625}, {"x":0, "y":1}, {"x":1, "y":1}, {"x":15, "y":1}, {"x":16, "y":1}, {"x":3, "y":1.25}, {"x":13, "y":1.25}, {"x":2, "y":1.5}, {"x":4, "y":1.5}, {"x":12, "y":1.5}, {"x":14, "y":1.5}, {"x":5, "y":1.625}, {"x":11, "y":1.625}, {"x":0, "y":2}, {"x":1, "y":2}, {"x":15, "y":2}, {"x":16, "y":2}, {"x":3, "y":2.25}, {"x":13, "y":2.25}, {"x":2, "y":2.5}, {"x":4, "y":2.5}, {"x":12, "y":2.5}, {"x":14, "y":2.5}, {"x":5, "y":2.625}, {"x":11, "y":2.625}, {"x":0, "y":3}, {"x":1, "y":3}, {"x":15, "y":3}, {"x":16, "y":3}, {"x":2.5, "y":3.5}, {"x":13.5, "y":3.5}, {"x":3.5, "y":3.5}, {"x":12.5, "y":3.5}, {"x":4.5, "y":3.75}, {"x":11.5, "y":3.75}, {"x":5.5, "y":4}, {"x":10.5, "y":4}]