<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk_sweep_skeletyl/lib/python/qmk/cli/json2c.py, branch master</title>
<subtitle>my qmk configs</subtitle>
<id>http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master</id>
<link rel='self' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/'/>
<updated>2023-05-22T06:03:59+00:00</updated>
<entry>
<title>Update json2c to use dump_lines (#21013)</title>
<updated>2023-05-22T06:03:59+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2023-05-22T06:03:59+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=fb056c543765b1c8ed7dae031a36ed2d04b1c718'/>
<id>urn:sha1:fb056c543765b1c8ed7dae031a36ed2d04b1c718</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CLI: Validate JSON keymap input (#16261)</title>
<updated>2022-02-28T20:02:39+00:00</updated>
<author>
<name>Erovia</name>
</author>
<published>2022-02-28T20:02:39+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=fbfd5312b995a32af690c183cad0dc988f695e89'/>
<id>urn:sha1:fbfd5312b995a32af690c183cad0dc988f695e89</id>
<content type='text'>
* Fix schema validator

It should use the passed schema.

* Add required attributes to keymap schema

* Rework subcommands to validate the JSON keymaps

The 'compile', 'flash' and 'json2c' subcommands were reworked to add
JSON keymap validation so error is reported for non-JSON and
non-compliant-JSON inputs.

* Fix required fields in keymap schema

* Add tests

* Fix compiling keymaps directly from keymap directory

* Schema should not require version for now.</content>
</entry>
<entry>
<title>Macros in JSON keymaps (#14374)</title>
<updated>2021-11-22T19:11:35+00:00</updated>
<author>
<name>Zach White</name>
</author>
<published>2021-11-22T19:11:35+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=08ce0142bad40f22d05d33fdef8a7c8907154e96'/>
<id>urn:sha1:08ce0142bad40f22d05d33fdef8a7c8907154e96</id>
<content type='text'>
* macros in json keymaps

* add advanced macro support to json

* add a note about escaping macro strings

* add simple examples

* format json

* add support for language specific keymap extras

* switch to dictionaries instead of inline text for macros

* use SS_TAP on the innermost tap keycode

* add the new macro format to the schema

* document the macro limit

* add the json keyword for syntax highlighting

* fix format that vscode screwed up

* Update feature_macros.md

* add tests for macros

* change ding to beep

* add json support for SENDSTRING_BELL

* update doc based on feedback from sigprof

* document host_layout

* remove unused var

* improve carriage return handling

* support tab characters as well

* Update docs/feature_macros.md

Co-authored-by: Nick Brassel &lt;nick@tzarc.org&gt;

* escape backslash characters

* format

* flake8

* Update quantum/quantum_keycodes.h

Co-authored-by: Nick Brassel &lt;nick@tzarc.org&gt;</content>
</entry>
<entry>
<title>Add support for tab completion (#12411)</title>
<updated>2021-04-15T02:00:22+00:00</updated>
<author>
<name>Zach White</name>
</author>
<published>2021-04-15T02:00:22+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=588bcdc8ca212b195a428fc43766a59a9252c08d'/>
<id>urn:sha1:588bcdc8ca212b195a428fc43766a59a9252c08d</id>
<content type='text'>
* Add support for tab completion

* make flake8 happy

* Add documentation</content>
</entry>
<entry>
<title>Fix generated file output while target exists (#12062)</title>
<updated>2021-02-28T20:19:07+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2021-02-28T20:19:07+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=59c7deab0931207016315636ae1ef74c2c54dd18'/>
<id>urn:sha1:59c7deab0931207016315636ae1ef74c2c54dd18</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow flash/compile to accept relative json paths (#11767)</title>
<updated>2021-02-07T21:02:51+00:00</updated>
<author>
<name>Joel Challis</name>
</author>
<published>2021-02-07T21:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=ccc9c43161282bd6f37813cc85c13da1eb51b88d'/>
<id>urn:sha1:ccc9c43161282bd6f37813cc85c13da1eb51b88d</id>
<content type='text'>
* Allow flash/compile to accept relative paths

* Review suggestions

* Review comments

* Put back exists check otherwise stdin fails

* fix lint</content>
</entry>
<entry>
<title>[CLI] Add stdin support for json2c command (#11289)</title>
<updated>2020-12-29T19:34:48+00:00</updated>
<author>
<name>LongerHV</name>
</author>
<published>2020-12-29T19:34:48+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=221d8fd8669ff528bfedd01f41486f5298d960e1'/>
<id>urn:sha1:221d8fd8669ff528bfedd01f41486f5298d960e1</id>
<content type='text'>
* Implement stdin for json2c command

* Refactor

* Handle json decode error

* Add stdin support for c2json cli command

* Refactor to prevent code duplication

* Change exit(1) to return False in c2json command

* Remove unused import</content>
</entry>
<entry>
<title>Generate api data on each push (#10609)</title>
<updated>2020-10-25T21:48:44+00:00</updated>
<author>
<name>Zach White</name>
</author>
<published>2020-10-25T21:48:44+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=0c42f91f4ccf98a37f055afb777ed491da56335e'/>
<id>urn:sha1:0c42f91f4ccf98a37f055afb777ed491da56335e</id>
<content type='text'>
* add new qmk generate-api command, to generate a complete set of API data.

* Generate api data and push it to the keyboard repo

* fix typo

* Apply suggestions from code review

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;

* fixup api workflow

* remove file-changes-action

* use a more mainstream github action

* fix yaml error

* Apply suggestions from code review

Co-authored-by: Erovia &lt;Erovia@users.noreply.github.com&gt;

* more uniform date handling

* make flake8 happy

* Update lib/python/qmk/decorators.py

Co-authored-by: Erovia &lt;Erovia@users.noreply.github.com&gt;

Co-authored-by: Joel Challis &lt;git@zvecr.com&gt;
Co-authored-by: Erovia &lt;Erovia@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>CLI: update subcommands to use return instead of exit() (#10323)</title>
<updated>2020-10-06T23:46:10+00:00</updated>
<author>
<name>Ryan</name>
</author>
<published>2020-10-06T23:46:10+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=2c9ffd47391b8dec98db94bef9b2f5c14a57cf94'/>
<id>urn:sha1:2c9ffd47391b8dec98db94bef9b2f5c14a57cf94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>CLI: fix `json2c` subcommand and add/fix tests (#9206)</title>
<updated>2020-05-26T15:43:33+00:00</updated>
<author>
<name>Erovia</name>
</author>
<published>2020-05-26T15:43:33+00:00</published>
<link rel='alternate' type='text/html' href='http://archive.git.mgrote.net/qmk_sweep_skeletyl/commit/?id=6501377070ff20bd061ea85c7ae5517652b6478b'/>
<id>urn:sha1:6501377070ff20bd061ea85c7ae5517652b6478b</id>
<content type='text'>
Co-authored-by: Zach White &lt;skullydazed@users.noreply.github.com&gt;</content>
</entry>
</feed>
