moved the EndBrace to a separate field since sensor-bindings is optional
make the Configs field optional
make the Combos field optional
add a test for the default sofle/keyhive keymap
tl;dr I tried to run on the default sofle/keyhive keymap, and it threw up because it didn't have &mt, combos within the keymap block, and included sensor-bindings in the layers. So I added logic to handle each of those, since they all seem to be optional for a functional keymap file.
In checking for those, I saw there are a few more fields that are optional that could get added later, but I've only handled for the ones I've run into and can test.
Summary
tl;dr I tried to run on the default sofle/keyhive keymap, and it threw up because it didn't have
&mt
,combos
within the keymap block, and includedsensor-bindings
in the layers. So I added logic to handle each of those, since they all seem to be optional for a functional keymap file.In checking for those, I saw there are a few more fields that are optional that could get added later, but I've only handled for the ones I've run into and can test.
Thanks for the library!