forked from mirrors/qmk_firmware
b62829031d
* YMDK NP21: matrix and keymap refactor - refactored layout macros - LAYOUT_ortho_6x4 orients the keyboard with the USB port to the back instead of to the right - LAYOUT uses the previous sideways orientation (included for backwards compatibility) - removed redundant includes from ymdk_np21.h - added a readme for the default keymap * add Configurator layout support
69 lines
2.7 KiB
JSON
69 lines
2.7 KiB
JSON
{
|
|
"keyboard_name": "YMDK NP21",
|
|
"url": "",
|
|
"maintainer": "qmk",
|
|
"layouts": {
|
|
"LAYOUT_ortho_6x4": {
|
|
"width": 4,
|
|
"height": 6.25,
|
|
"key_count": 24,
|
|
"layout": [
|
|
{"label":"K06", "x":0, "y":0},
|
|
{"label":"K16", "x":1, "y":0},
|
|
{"label":"K26", "x":2, "y":0},
|
|
{"label":"K36", "x":3, "y":0},
|
|
{"label":"K05", "x":0, "y":1.25},
|
|
{"label":"K15", "x":1, "y":1.25},
|
|
{"label":"K25", "x":2, "y":1.25},
|
|
{"label":"K35", "x":3, "y":1.25},
|
|
{"label":"K04", "x":0, "y":2.25},
|
|
{"label":"K14", "x":1, "y":2.25},
|
|
{"label":"K24", "x":2, "y":2.25},
|
|
{"label":"K34", "x":3, "y":2.25},
|
|
{"label":"K03", "x":0, "y":3.25},
|
|
{"label":"K13", "x":1, "y":3.25},
|
|
{"label":"K23", "x":2, "y":3.25},
|
|
{"label":"K33", "x":3, "y":3.25},
|
|
{"label":"K02", "x":0, "y":4.25},
|
|
{"label":"K12", "x":1, "y":4.25},
|
|
{"label":"K22", "x":2, "y":4.25},
|
|
{"label":"K32", "x":3, "y":4.25},
|
|
{"label":"K01", "x":0, "y":5.25},
|
|
{"label":"K11", "x":1, "y":5.25},
|
|
{"label":"K21", "x":2, "y":5.25},
|
|
{"label":"K31", "x":3, "y":5.25}
|
|
]
|
|
},
|
|
"LAYOUT": {
|
|
"width": 6.25,
|
|
"height": 4,
|
|
"key_count": 24,
|
|
"layout": [
|
|
{"label":"K01", "x":0, "y":0},
|
|
{"label":"K02", "x":1, "y":0},
|
|
{"label":"K03", "x":2, "y":0},
|
|
{"label":"K04", "x":3, "y":0},
|
|
{"label":"K05", "x":4, "y":0},
|
|
{"label":"K06", "x":5.25, "y":0},
|
|
{"label":"K11", "x":0, "y":1},
|
|
{"label":"K12", "x":1, "y":1},
|
|
{"label":"K13", "x":2, "y":1},
|
|
{"label":"K14", "x":3, "y":1},
|
|
{"label":"K15", "x":4, "y":1},
|
|
{"label":"K16", "x":5.25, "y":1},
|
|
{"label":"K21", "x":0, "y":2},
|
|
{"label":"K22", "x":1, "y":2},
|
|
{"label":"K23", "x":2, "y":2},
|
|
{"label":"K24", "x":3, "y":2},
|
|
{"label":"K25", "x":4, "y":2},
|
|
{"label":"K26", "x":5.25, "y":2},
|
|
{"label":"K31", "x":0, "y":3},
|
|
{"label":"K32", "x":1, "y":3},
|
|
{"label":"K33", "x":2, "y":3},
|
|
{"label":"K34", "x":3, "y":3},
|
|
{"label":"K35", "x":4, "y":3},
|
|
{"label":"K36", "x":5.25, "y":3}
|
|
]
|
|
}
|
|
}
|
|
}
|