summaryrefslogtreecommitdiff
path: root/docs/feature_macros.md
AgeCommit message (Collapse)Author
2023-08-26Corrected duration example, should be number not string (#21839)Andy Smith
2022-11-05Macro keycode name refactoring (#18958)Nick Brassel
2022-10-05docs: some typos (#18582)George Rodrigues
probably hacktoberism
2022-07-23implement `tap_code16_delay` (#17748)JayceFayne
2022-07-02Feature-ify Send String (#17275)Ryan
2022-02-05[Docs] feature_macro.md: minor formatting fix (#16205)IskandarMa
2022-01-13Fix keymap.json macro example (#15567)Tuk Bredsdorff
2022-01-03[Docs] Note the order of enumerated custom keycodes (#15706)Albert Y
Co-authored-by: filterpaper <filterpaper@localhost>
2021-12-27Update feature_macros.md (#15026)Buttenup
* Update feature_macros.md Added a link to the usage of SAFE_RANGE as this wasn't clear to me when I visited this page in isolation. * Fix typo Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-22Macros in JSON keymaps (#14374)Zach White
* 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 <nick@tzarc.org> * escape backslash characters * format * flake8 * Update quantum/quantum_keycodes.h Co-authored-by: Nick Brassel <nick@tzarc.org>
2021-11-03Basic keycode overhaul (#14726)Ryan
2021-02-28[Docs] New section to modifier docs: Checking Modifier State (#10550)precondition
* Added new section to docs: Checking Modifier State * Added id anchors to all headers in modifiers docs * Added a Wikipedia link to bitwise operators and... crosslinked to the QMK macro docs. * Added an explanation on the format of mod bitmask * Added .md extension to hyperlinks to macros docs * Corrected mod mask order and changed notation * Documented add_oneshot_mods and del_oneshot_mods * Mentioned modifier checks in the macro docs * Explained strict modifier checking i.e. using `get_mods() & MOD_MASK == MOD_MASK` instead of simply `get_mods() & MOD_MASK` * Added (un)register_mods to the docs * Put left term of comparison in parens
2021-02-17Add `tap_code_delay(code, delay)` (#11913)Ryan
Co-authored-by: Drashna Jaelre <drashna@live.com>
2021-01-11Remove unused `action_get_macro()` usages in user files (#11165)Ryan
2020-12-30Typo fix: Useful function -> Useful Functions (#11342)Chas
Thanks!
2020-12-11Normalise include statements in core code (#11153)Ryan
* Normalise include statements in core code * Missed one
2020-06-20[Docs] Improve Unicode documentation (#8676)Konstantin Đorđević
2020-04-12Add *OPT aliases for *ALT keycodes and macros (#8714)Konstantin Đorđević
2020-03-23Add Post Processing to process_record (#4892)Drashna Jaelre
* Improve process_record system Code based on @colinta's * Rename and better handle functions * Fix incorrect function call to process_record_user * Add documentation for post_process_record * Add both get_event_keycode and get_record_keycode functions And add some comments about these functions * Update code format * Cleanup merge artifacts
2020-02-27Add support for delays in send_string. (#8244)Nick Brassel
2020-02-23Add link to "Useful functions" in macro docs (#7446)Jez Cope
* Add link to "Useful functions" in macro docs Help people find additional features they can activate within a macro * Update docs/feature_macros.md Co-Authored-By: Drashna Jaelre <drashna@live.com> Co-authored-by: skullydazed <skullydazed@users.noreply.github.com> Co-authored-by: Drashna Jaelre <drashna@live.com>
2019-11-25Send string keycode tweaks (#7471)fauxpark
2019-05-04[Docs] Update Super ALT↯TAB to remove use of unregister_code16 (#5766)Jez Cope
The code as originally listed didn't work for me, but replacing `unregister_code16(LALT(KC_TAB));` with `unregister_code(KC_LALT);` fixes the problem and causes the macro to work as intended. Thanks to folks on Discord for helping me figure this out.
2019-04-14[Docs] Adding Alt↯Tab example macro (#5616)roguepullrequest
2019-03-18[Docs] Smallish overhaul of the docs (#5281)Drashna Jaelre
* Fix up Common functions doc * Add to extra commands to flashing doc * Rearrange and touch up Macros * Expand Newbs Flashing guide * Update process_record documentation * Add git to best practices name in sidebar * Expand FAQ for build/flashing * Add deprecated info to functions * Update docs/feature_macros.md Co-Authored-By: drashna <drashna@live.com> * Update docs/feature_macros.md Co-Authored-By: drashna <drashna@live.com> * Update docs/flashing.md Co-Authored-By: drashna <drashna@live.com> * Update docs/flashing.md Co-Authored-By: drashna <drashna@live.com> * Update docs/keymap.md Co-Authored-By: drashna <drashna@live.com> * Update docs/newbs_flashing.md Co-Authored-By: drashna <drashna@live.com> * Update docs/newbs_flashing.md Co-Authored-By: drashna <drashna@live.com> * Update docs/custom_quantum_functions.md Co-Authored-By: drashna <drashna@live.com> * Update docs/faq_build.md Co-Authored-By: drashna <drashna@live.com> * Update docs/feature_macros.md Co-Authored-By: drashna <drashna@live.com> * Update docs/keymap.md Co-Authored-By: drashna <drashna@live.com> * Fix up Common functions doc * Make pre-init example accurate * Update docs/custom_quantum_functions.md Co-Authored-By: drashna <drashna@live.com> * Zadig Driver catchall * Spelling Depriciated * Completely remove fn_actions section
2019-02-21Replace instances of KEYMAP with LAYOUTnoroadsleft
Many instances in the QMK Docs referenced KEYMAP macros, which is outdated terminology. Replaced most instances of KEYMAP with LAYOUT, to reflect the desired usage.
2018-12-14Fix up tap_code functionality (#4609)Drashna Jaelre
* Add delay in Tap Code to avoid issues I think a few people have reporting issues with it working properly, and it may be a timing issue. The 'register_code' uses this sort of delay in some of the functions, and this is probably why. Adding the 100ms delay should hopefully fix any issues with it. * Make tap_code delay configurable * Update documentation * Bring tap_code16 inline with changes * Fix type for tap_code16 Bad copy-paste job * Just use the value check for the define * Clarify timing in docs Co-Authored-By: drashna <drashna@live.com> * Wordsmithing Co-Authored-By: drashna <drashna@live.com>
2018-12-11Fix macro docs to be consistent with keyboard template (#4600)Drashna Jaelre
2018-10-01Add tap_code function (#3784)Drashna Jaelre
* Add tap_code * formatting * Doc clarification * Rename variable to make more consistent
2018-05-07Fix up info boxes.skullY
2018-03-09Add SS_RALT for AltGR usage in macrosDrashna Jael're
2018-03-01Update feature_macros.md (#2387)Mitchell van Manen
break statements are never reached due to the return statement, so unnecessary
2017-12-09Trim trailing whitespacefauxpark
2017-12-09Fix some of the more obvious typosfauxpark
2017-12-09Convert all headings to Title Casefauxpark
2017-11-20added SS_LSFT to featured macrosGilbert Consellado
2017-11-16add example keymapBalz Guenat
2017-11-16extend macro docs a bitBalz Guenat
2017-10-24Restructure the hardware and feature docs to make things easier to find (#1888)skullydazed
* fix #1313 by documenting more config.h options * Clean up and organize documentation