Skip to content

Commit

Permalink
Add link to "Useful functions" in macro docs (qmk#7446)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

Co-authored-by: skullydazed <[email protected]>
Co-authored-by: Drashna Jaelre <[email protected]>
  • Loading branch information
3 people authored Feb 23, 2020
1 parent 78db7b6 commit 1923274
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/feature_macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ SEND_STRING(".."SS_TAP(X_END));

There are some functions you may find useful in macro-writing. Keep in mind that while you can write some fairly advanced code within a macro, if your functionality gets too complex you may want to define a custom keycode instead. Macros are meant to be simple.

?> You can also use the functions described in [Useful function](ref_functions.md) for additional functionality. For example `reset_keyboard()` allows you to reset the keyboard as part of a macro.

### `record->event.pressed`

This is a boolean value that can be tested to see if the switch is being pressed or released. An example of this is
Expand Down

0 comments on commit 1923274

Please sign in to comment.