<feed xmlns='http://www.w3.org/2005/Atom'>
<title>qmk/quantum/command.h, 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>2022-08-12T02:03:36+00:00</updated>
<entry>
<title>Remove legacy keycode use from command (#18002)</title>
<updated>2022-08-12T02:03:36+00:00</updated>
<author>
<name>Joel Challis</name>
<email>git@zvecr.com</email>
</author>
<published>2022-08-12T02:03:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.node5.net/firmware/qmk/commit/?id=7e7387c0d140c36b1b0058f8aa20f49a5959d535'/>
<id>urn:sha1:7e7387c0d140c36b1b0058f8aa20f49a5959d535</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>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>
