1
0
Fork 0

Move keyboard USB IDs and strings to data driven, pass 2: P-R (#18091)

This commit is contained in:
Ryan 2022-08-20 10:42:49 +10:00 committed by GitHub
parent 835c971f78
commit 201a914beb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
98 changed files with 282 additions and 375 deletions

View file

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

View file

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 0x4D44 // "MD"
#define PRODUCT_ID 0x5244 // "RD"
#define DEVICE_VER 0x0100
#define MANUFACTURER Falbatech
#define PRODUCT The Redox Keyboard
/* key matrix size */
// Rows are doubled-up
#define MATRIX_ROWS 10

View file

@ -0,0 +1,100 @@
{
"keyboard_name": "Redox",
"manufacturer": "Falbatech",
"url": "",
"maintainer": "qmk",
"usb": {
"vid": "0x4D44",
"pid": "0x5244",
"device_version": "1.0.0"
},
"layouts": {
"LAYOUT": {
"layout": [
{"label":"_Nav || `", "x":0, "y":0.375, "w":1.25},
{"label":"1", "x":1.25, "y":0.375},
{"label":"2", "x":2.25, "y":0.125},
{"label":"3", "x":3.25, "y":0},
{"label":"4", "x":4.25, "y":0.125},
{"label":"5", "x":5.25, "y":0.25},
{"label":"6", "x":12.25, "y":0.25},
{"label":"7", "x":13.25, "y":0.125},
{"label":"8", "x":14.25, "y":0},
{"label":"9", "x":15.25, "y":0.125},
{"label":"0", "x":16.25, "y":0.375},
{"label":"_Nav || -", "x":17.25, "y":0.375, "w":1.25},
{"label":"Tab", "x":0, "y":1.375, "w":1.25},
{"label":"Q", "x":1.25, "y":1.375},
{"label":"W", "x":2.25, "y":1.125},
{"label":"E", "x":3.25, "y":1},
{"label":"R", "x":4.25, "y":1.125},
{"label":"T", "x":5.25, "y":1.25},
{"label":"MO(_SYMB)", "x":6.25, "y":0.75},
{"label":"MO(_SYMB)", "x":11.25, "y":0.75},
{"label":"Y", "x":12.25, "y":1.25},
{"label":"U", "x":13.25, "y":1.125},
{"label":"I", "x":14.25, "y":1},
{"label":"O", "x":15.25, "y":1.125},
{"label":"P", "x":16.25, "y":1.375},
{"label":"=", "x":17.25, "y":1.375, "w":1.25},
{"label":"Esc", "x":0, "y":2.375, "w":1.25},
{"label":"A", "x":1.25, "y":2.375},
{"label":"S", "x":2.25, "y":2.125},
{"label":"D", "x":3.25, "y":2},
{"label":"F", "x":4.25, "y":2.125},
{"label":"G", "x":5.25, "y":2.25},
{"label":"[", "x":6.25, "y":1.75, "h":1.5},
{"label":"]", "x":11.25, "y":1.75, "h":1.5},
{"label":"H", "x":12.25, "y":2.25},
{"label":"J", "x":13.25, "y":2.125},
{"label":"K", "x":14.25, "y":2},
{"label":"L", "x":15.25, "y":2.125},
{"label":";", "x":16.25, "y":2.375},
{"label":"'", "x":17.25, "y":2.375, "w":1.25},
{"label":"Shift", "x":0, "y":3.375, "w":1.25},
{"label":"Z", "x":1.25, "y":3.375},
{"label":"X", "x":2.25, "y":3.125},
{"label":"C", "x":3.25, "y":3},
{"label":"V", "x":4.25, "y":3.125},
{"label":"B", "x":5.25, "y":3.25},
{"label":"_Adjust/Page Up", "x":6.75, "y":3.75},
{"label":"Page Down", "x":7.75, "y":3.75},
{"label":"Home", "x":9.75, "y":3.75},
{"label":"_Adjust/End", "x":10.75, "y":3.75},
{"label":"N", "x":12.25, "y":3.25},
{"label":"M", "x":13.25, "y":3.125},
{"label":",", "x":14.25, "y":3},
{"label":",", "x":15.25, "y":3.125},
{"label":"\\", "x":16.25, "y":3.375},
{"label":"Shift", "x":17.25, "y":3.375, "w":1.25},
{"label":"LGUI", "x":0.25, "y":4.375},
{"label":"P+", "x":1.25, "y":4.375},
{"label":"P-", "x":2.25, "y":4.125},
{"label":"LAlt || P*", "x":3.25, "y":4},
{"label":"LCtrl || P/", "x":5.5, "y":5.25, "w":1.25},
{"label":"Backspace", "x":6.75, "y":4.75, "h":1.5},
{"label":"Delete", "x":7.75, "y":4.75, "h":1.5},
{"label":"Enter", "x":9.75, "y":4.75, "h":1.5},
{"label":"Space", "x":10.75, "y":4.75, "h":1.5},
{"label":"RAlt", "x":11.75, "y":5.25, "w":1.25},
{"label":"Left", "x":14.25, "y":4},
{"label":"Down", "x":15.25, "y":4.125},
{"label":"Up", "x":16.25, "y":4.375},
{"label":"Right", "x":17.25, "y":4.375}
]
}
}
}

View file

@ -5,10 +5,6 @@
#include "config_common.h"
/* USB Device descriptor parameter */
#undef DEVICE_VER
#define DEVICE_VER 0x0101 // added 1 for the rev1 + proton c
// wiring of each half
#undef MATRIX_ROW_PINS
#define MATRIX_ROW_PINS { B5, B3, B2, B1, B0 }

View file

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

View file

@ -0,0 +1 @@
DEFAULT_FOLDER = redox/rev1/base