mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 18:06:34 +06:00
62ef4a9c8a
* clean up keyboard header files * use #pragma once include guard * convert tabs to spaces * remove redundant #include statements * update revision references to main header (`../meira.h` -> `meira.h`) * refactor default keymap * use LAYOUT as layout macro reference * use enum statement for layer indexes; make layers contiguous * use four-space indent * update keycode grid alignment * update layout macro aliases * move layout macro aliases to info.json * alias KEYMAP to LAYOUT_ortho_4x12 so the user keymaps don't have to be edited * touch up meira.h There's no Planck MIT layout reference here. * add copyright headers * workaround patch for grahampheath keymap The `matrix_init_kb()` function in `meira.c` calls `backlight_set()`, but the grahampheath keymap disables Backlight to make space for Audio, causing the firmware to fail to compile. This commit wraps the `backlight_set()` call in an ifdef statement, so the call is excluded if Backlight is disabled. * clean up rules.mk inline comments * re-order rules.mk settings * clean up readme.md * correct link to keyboard image * change metadata section to unordered list * spelling corrections * update make instructions and Docs links
67 lines
1.8 KiB
JSON
67 lines
1.8 KiB
JSON
{
|
|
"keyboard_name": "Meira",
|
|
"url": "",
|
|
"maintainer": "colemarkham",
|
|
"layout_aliases": {
|
|
"KEYMAP": "LAYOUT_ortho_4x12",
|
|
"LAYOUT": "LAYOUT_ortho_4x12"
|
|
},
|
|
"layouts": {
|
|
"LAYOUT_ortho_4x12": {
|
|
"layout": [
|
|
{"x":0, "y":0},
|
|
{"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":0, "y":1},
|
|
{"x":1, "y":1},
|
|
{"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":0, "y":2},
|
|
{"x":1, "y":2},
|
|
{"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":0, "y":3},
|
|
{"x":1, "y":3},
|
|
{"x":2, "y":3},
|
|
{"x":3, "y":3},
|
|
{"x":4, "y":3},
|
|
{"x":5, "y":3},
|
|
{"x":6, "y":3},
|
|
{"x":7, "y":3},
|
|
{"x":8, "y":3},
|
|
{"x":9, "y":3},
|
|
{"x":10, "y":3},
|
|
{"x":11, "y":3}
|
|
]
|
|
}
|
|
}
|
|
}
|