Open yanfali opened 5 years ago
"keymaps": {
'LAYOUT': ["yshrsmz","DivergeJM","losinggeneration","333fred","kim-kim","danielhklein","pitty","jojiichan","default"],
'LAYOUT_60_ansi': ['layout1', 'layout2']
}
Yeah this makes more sense as we have multiple layouts. I like it.
https://api.qmk.fm/v1/keyboards/nyquist
returns a datastructure with a field called keymaps
assuming a keymaps field exists, search for default and use it to load the keymap. If no default exists attempt to load the first one in the list.
https://api.qmk.fm/v1/keyboards//keymaps/
Returns a data structure that looks like this:
Use the layers info to pre-populate the keymap on configurator when there's a matching LAYOUT macro.
Two error conditions that currently exist.
These are failures to parse the existing keymap and in those cases doing nothing is acceptable.