<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk/quantum/command.c, branch master</title>
<subtitle>Custom split ortholinear mechanical keyboard with rollerball mouse. Firmware. https://blog.node5.net/custom-keyboard
</subtitle>
<id>http://git.node5.net/firmware/qmk/atom?h=master</id>
<link rel='self' href='http://git.node5.net/firmware/qmk/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/'/>
<updated>2023-03-03T17:50:40+00:00</updated>
<entry>
<title>Remove some use of keymap.h (#20006)</title>
<updated>2023-03-03T17:50:40+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2023-03-03T17:50:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=3be5d90b6d1c4534bcfce9725808e8c4d469a845'/>
<id>urn:sha1:3be5d90b6d1c4534bcfce9725808e8c4d469a845</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Fix] Patches after printf library update (#17584)</title>
<updated>2022-07-07T12:14:09+00:00</updated>
<author>
<name>Stefan Kerkmann</name>
<email>karlk90@pm.me</email>
</author>
<published>2022-07-07T12:14:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=643f6367a19649a0f5af6d43f2ed7f0e93b21f70'/>
<id>urn:sha1:643f6367a19649a0f5af6d43f2ed7f0e93b21f70</id>
<content type='text'>
* Add missing '(' to print_bin_reverse32 declaration
* Fix insufficient character buffers on satisfaction75
* Remove \0 character in format string and use corrected offset math
  instead on rocketboard 16
* Replace snprintf_ with snprintf for djinn
* Explicitly ignore format checks for tracktyl manuform that uses %b
  specifier
* Print properly escaped version string in command.c, as PRODUCT or
  other defines can contain constructs like 'Vendor keyboard 66%' which
  will be interpreted as a format specifier</content>
</entry>
<entry>
<title>PoC: Swap Escape and Caps (#16336)</title>
<updated>2022-07-02T12:08:48+00:00</updated>
<author>
<name>Osamu Aoki</name>
<email>osamuaoki@users.noreply.github.com</email>
</author>
<published>2022-07-02T12:08:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=871eeae4eab476cb64b40e0636ec19deeea79525'/>
<id>urn:sha1:871eeae4eab476cb64b40e0636ec19deeea79525</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Format code according to conventions (#16322)</title>
<updated>2022-02-12T18:29:31+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2022-02-12T18:29:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=63646e8906e062d1c1de3925cba70c4e3426a855'/>
<id>urn:sha1:63646e8906e062d1c1de3925cba70c4e3426a855</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[Bug] Fix command feature if mousekey is enabled and using 3-speed setting (#14697)</title>
<updated>2021-10-06T00:50:23+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-10-06T00:50:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=3b8c4979dc17a52cd87f30b4986ca46d0b365860'/>
<id>urn:sha1:3b8c4979dc17a52cd87f30b4986ca46d0b365860</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Refactor `quantum/command.{c,h}` for code size &amp; {read,maintain}ability (#11842)</title>
<updated>2021-08-07T07:12:57+00:00</updated>
<author>
<name>Liyang HU</name>
<email>github.com@liyang.hu</email>
</author>
<published>2021-08-07T07:12:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=383fae55c5d53626eda210298f15fa6810510d5e'/>
<id>urn:sha1:383fae55c5d53626eda210298f15fa6810510d5e</id>
<content type='text'>
* quantum/command.c: coalesce `print()`s in `command_common_help()` &amp; `print_version()`

Also undo some damage by clang-format in b624f32f94

* quantum/command.c: replace `print(…); print_{,val_}{dec,hex}*(…);` sequences with single `xprintf(…)`

`print_{dec,hex}*(…)` are just `#define`s for `xprintf(…)` anyway.

Each additional `xprintf(…)` costs ~8 bytes: the call instructions,
plus an additional NUL terminator.

This _really_ adds up: this commit saves 814 bytes on my ATmega32.

* quantum/command.c: optimise `mousekey_console()` for size &amp; legibility

Made various tweaks to the interface, but still functionally identical.

Assume `KC_1`…`KC_0` to be contiguous, and removed `numkey2num(…)` entirely.
It was exported in `command.h` by 1a0bac8bcc for no obvious reason, before
which it was `static`. I doubt anyone uses it.

`mousekey_console()` is now enabled regardless of `MK_3_SPEED`.
Needs fleshing out for things other than the X11 variant though.

This commit saves 638 bytes on my ATmega32.</content>
</entry>
<entry>
<title>Improve layer mask handling (#13065)</title>
<updated>2021-07-03T07:19:52+00:00</updated>
<author>
<name>Drashna Jaelre</name>
<email>drashna@live.com</email>
</author>
<published>2021-07-03T07:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=8da8aabbe5796232c0f17f849badd455d42b0277'/>
<id>urn:sha1:8da8aabbe5796232c0f17f849badd455d42b0277</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'origin/master' into develop</title>
<updated>2021-02-07T23:16:47+00:00</updated>
<author>
<name>QMK Bot</name>
<email>hello@qmk.fm</email>
</author>
<published>2021-02-07T23:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=3a98bd75c88c5cc64aed72b9d2e3a8857d949fed'/>
<id>urn:sha1:3a98bd75c88c5cc64aed72b9d2e3a8857d949fed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Migrate some tmk_core files to quantum (#11791)</title>
<updated>2021-02-07T23:16:15+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2021-02-07T23:16:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=99bffc2a21ebed07fd767ad2a9a7e1aadd491ef3'/>
<id>urn:sha1:99bffc2a21ebed07fd767ad2a9a7e1aadd491ef3</id>
<content type='text'>
* Migrate some tmk_core files to quantum

* Fix build errors</content>
</entry>
</feed>
