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.
qmk-fw/quantum
Drashna Jaelre 542cb0a8ce [Core] Convert Dynamic Macro to a Core Feature (#5948)
* Convert Dynamic Macro to a Core Feature

This imports the code from Dynamic Macro into the core code, and handles it, as such.

This deprecates the old method but does not remove it, for legacy support. This way, no existing user files need to be touched.

Additionally, this reorganizes the documentation to better reflect the changes.

Also, it adds user hooks to the feature so users can customize the existing functionality.

Based heavily on and closes #2976

* Apply suggestions from code review

Co-Authored-By: fauxpark <fauxpark@gmail.com>
Co-Authored-By: noroadsleft <18669334+noroadsleft@users.noreply.github.com>

* Cleanup based on feedback

* Add short-form keycodes and document them

- add short-form keycodes to quantum/quantum_keycodes.h
- document the new aliases in docs/feature_dynamic_macros.md

* Add Dynamic Macros section and keycodes to docs/keycodes.md

* Make anti-nesting optional

* Add documentation for DYNAMIC_MACRO_NO_NESTING option

* Fix Merge artifacts

* Fix formatting typo in docs

Co-Authored-By: James Young <18669334+noroadsleft@users.noreply.github.com>

* Remove DYNAMIC_MACRO_RANGE as it's not needed

* Fix includes and layer var type
6 years ago
..
api clang-format changes 6 years ago
audio clang-format changes 6 years ago
backlight Initial migration of software PWM backlight (#6709) 6 years ago
debounce clang-format changes 6 years ago
keymap_extras Fix formatting for sendstring LUTs (#7176) 6 years ago
process_keycode [Core] Convert Dynamic Macro to a Core Feature (#5948) 6 years ago
rgb_matrix_animations clang-format changes 6 years ago
rgb_matrix_runners clang-format changes 6 years ago
serial_link clang-format changes 6 years ago
split_common Remove duplicate pro_micro.h (#7246) 6 years ago
stm32 Use task driven PWM for CTPC until ARM can provide automatic configuration (#6928) 6 years ago
template Template updates (#7221) 6 years ago
tools
visualizer clang-format changes 6 years ago
api.c clang-format changes 6 years ago
api.h clang-format changes 6 years ago
color.c Smoother Linear Light Table (#6764) 6 years ago
color.h clang-format changes 6 years ago
config_common.h Added uart config for using rn42 with at90usb1286 (#6582) 6 years ago
debounce.h Removed #include "matrix.h" from debounce.h 6 years ago
dip_switch.c Add Dip Switch as a core feature (#6140) 6 years ago
dip_switch.h Add Dip Switch as a core feature (#6140) 6 years ago
dynamic_keymap.c clang-format changes 6 years ago
dynamic_keymap.h clang-format changes 6 years ago
dynamic_macro.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 6 years ago
encoder.c Updated split encoders so indexes are based on left hand encoders first (#6382) 6 years ago
encoder.h Added encoder support to split common code (#5477) 6 years ago
fauxclicky.c clang-format changes 6 years ago
fauxclicky.h clang-format changes 6 years ago
keycode_config.c clang-format changes 6 years ago
keycode_config.h clang-format changes 6 years ago
keymap.h clang-format changes 6 years ago
keymap_common.c Move tmk_core/common/backlight to quantum/backlight (#6710) 6 years ago
led_matrix.c clang-format changes 6 years ago
led_matrix_drivers.c clang-format changes 6 years ago
led_tables.c Smoother Linear Light Table (#6764) 6 years ago
led_tables.h
ledmatrix.h clang-format changes 6 years ago
matrix.c clang-format changes 6 years ago
mcu_selection.mk Add 328P to mcu_selection.mk (#6682) 6 years ago
pincontrol.h clang-format changes 6 years ago
pointing_device.c clang-format changes 6 years ago
pointing_device.h clang-format changes 6 years ago
quantum.c [Core] Convert Dynamic Macro to a Core Feature (#5948) 6 years ago
quantum.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 6 years ago
quantum_keycodes.h [Core] Convert Dynamic Macro to a Core Feature (#5948) 6 years ago
rgb.h clang-format changes 6 years ago
rgb_matrix.c clang-format changes 6 years ago
rgb_matrix.h clang-format changes 6 years ago
rgb_matrix_drivers.c Reduce duplication for ARM/AVR ws2812 RGB Matrix driver (#7180) 6 years ago
rgb_matrix_types.h clang-format changes 6 years ago
rgblight.c Fix small hiccup in snake animation (#6858) 6 years ago
rgblight.h clang-format changes 6 years ago
rgblight_breathe_table.h clang-format changes 6 years ago
rgblight_list.h clang-format changes 6 years ago
rgblight_modes.h clang-format changes 6 years ago
rgblight_post_config.h clang-format changes 6 years ago
rgblight_reconfig.h clang-format changes 6 years ago
send_string_keycodes.h clang-format changes 6 years ago
variable_trace.c clang-format changes 6 years ago
variable_trace.h clang-format changes 6 years ago
velocikey.c clang-format changes 6 years ago
velocikey.h clang-format changes 6 years ago