You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Liyang HU
383fae55c5
Refactor `quantum/command.{c,h}` for code size & {read,maintain}ability ( #11842 )
...
* quantum/command.c: coalesce `print()`s in `command_common_help()` & `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 & 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.
4 years ago
..
api
…
audio
Refactor some platform dependent logic ( #13675 )
4 years ago
backlight
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago
bootmagic
Remove Full Bootmagic ( #13846 )
4 years ago
debounce
Add asym_eager_defer_pk debounce type ( #12689 )
5 years ago
keymap_extras
Merge remote-tracking branch 'origin/master' into develop
4 years ago
led_matrix
Switch Ergodox Infinity over to split_common ( #13481 )
4 years ago
logging
Move print/debug files to quantum ( #12069 )
4 years ago
process_keycode
Process combos earlier & overlapping combos ( #8591 )
4 years ago
rgb_matrix
Align AW20216 driver ( #13712 )
4 years ago
rgblight
Merge remote-tracking branch 'upstream/master' into develop
4 years ago
sequencer
matrix_scan_x -> x_task ( #13748 )
4 years ago
serial_link
Add sync_timer support over serial_link (i.e. Ergodox Infinity) ( #12845 )
5 years ago
split_common
Avoid LTO conficts on arm_atsam ( #13676 )
4 years ago
template
Remove Full Bootmagic ( #13846 )
4 years ago
tools
…
visualizer
…
api.c
…
api.h
…
bitwise.c
…
bitwise.h
…
color.c
…
color.h
Relocate RGB/HSV color defs to a more fitting place ( #13377 )
5 years ago
command.c
Refactor `quantum/command.{c,h}` for code size & {read,maintain}ability ( #11842 )
4 years ago
command.h
Refactor `quantum/command.{c,h}` for code size & {read,maintain}ability ( #11842 )
4 years ago
config_common.h
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago
crc.c
Add CRC8 calculation subsystem to quantum ( #12641 )
5 years ago
crc.h
Add CRC8 calculation subsystem to quantum ( #12641 )
5 years ago
debounce.h
Avoid 8-bit timer overflows in debounce algorithms ( #12240 )
5 years ago
dip_switch.c
Convert Dip Switch callbacks to boolean functions ( #13399 )
5 years ago
dip_switch.h
Convert Dip Switch callbacks to boolean functions ( #13399 )
5 years ago
dynamic_keymap.c
…
dynamic_keymap.h
…
dynamic_macro.h
…
encoder.c
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago
encoder.h
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago
haptic.c
Haptic: driver-> feature ( #13713 )
4 years ago
haptic.h
Haptic: driver-> feature ( #13713 )
4 years ago
joystick.c
…
joystick.h
…
keycode_config.c
…
keycode_config.h
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago
keymap.h
…
keymap_common.c
Process combos earlier & overlapping combos ( #8591 )
4 years ago
led.c
…
led.h
…
led_tables.c
…
led_tables.h
…
matrix.c
Change the prototype of matrix_output_unselect_delay() ( #13045 )
4 years ago
matrix.h
Change the prototype of matrix_output_unselect_delay() ( #13045 )
4 years ago
matrix_common.c
Change the prototype of matrix_output_unselect_delay() ( #13045 )
4 years ago
mcu_selection.mk
Adds support for STM32L412xB, STM32L422xB. ( #13383 )
5 years ago
mousekey.c
mousekey: expose current report to users ( #13069 )
5 years ago
mousekey.h
mousekey: expose current report to users ( #13069 )
5 years ago
pointing_device.c
…
pointing_device.h
…
quantum.c
Process combos earlier & overlapping combos ( #8591 )
4 years ago
quantum.h
Merge remote-tracking branch 'origin/master' into develop
4 years ago
quantum_keycodes.h
[Feature] Key Overrides ( #11422 )
4 years ago
ring_buffer.h
…
send_string.c
Move `SENDSTRING_BELL` code to `send_string.h` ( #13566 )
4 years ago
send_string.h
…
send_string_keycodes.h
…
util.h
…
variable_trace.c
…
variable_trace.h
…
velocikey.c
…
velocikey.h
…
via.c
…
via.h
…
via_ensure_keycode.h
…
wpm.c
Fix overflows in WPM calculations ( #13128 )
4 years ago
wpm.h
2021 May 29 Breaking Changes Update ( #13034 )
5 years ago