diff options
author | fauxpark <fauxpark@gmail.com> | 2017-12-09 16:56:58 +1100 |
---|---|---|
committer | Jack Humbert <jack.humb@gmail.com> | 2017-12-09 10:46:11 -0500 |
commit | bb53635f33c213e5a940edea8b07026ef89aed42 (patch) | |
tree | 7e170b424e37b7305f8be3072cd8c970f77ca073 /docs/feature_macros.md | |
parent | af37bb2f78c39c224c995eb57c757c63034a3d9c (diff) | |
download | qmk_firmware-bb53635f33c213e5a940edea8b07026ef89aed42.tar.gz qmk_firmware-bb53635f33c213e5a940edea8b07026ef89aed42.zip |
Trim trailing whitespace
Diffstat (limited to 'docs/feature_macros.md')
-rw-r--r-- | docs/feature_macros.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md index a9c138e81..dff692bd8 100644 --- a/docs/feature_macros.md +++ b/docs/feature_macros.md | |||
@@ -1,6 +1,6 @@ | |||
1 | # Macros | 1 | # Macros |
2 | 2 | ||
3 | Macros allow you to send multiple keystrokes when pressing just one key. QMK has a number of ways to define and use macros. These can do anything you want: type common phrases for you, copypasta, repetitive game movements, or even help you code. | 3 | Macros allow you to send multiple keystrokes when pressing just one key. QMK has a number of ways to define and use macros. These can do anything you want: type common phrases for you, copypasta, repetitive game movements, or even help you code. |
4 | 4 | ||
5 | {% hint style='danger' %} | 5 | {% hint style='danger' %} |
6 | **Security Note**: While it is possible to use macros to send passwords, credit card numbers, and other sensitive information it is a supremely bad idea to do so. Anyone who gets a hold of your keyboard will be able to access that information by opening a text editor. | 6 | **Security Note**: While it is possible to use macros to send passwords, credit card numbers, and other sensitive information it is a supremely bad idea to do so. Anyone who gets a hold of your keyboard will be able to access that information by opening a text editor. |
@@ -245,7 +245,7 @@ This will clear all keys besides the mods currently pressed. | |||
245 | 245 | ||
246 | ## Advanced Example: Single-Key Copy/Paste | 246 | ## Advanced Example: Single-Key Copy/Paste |
247 | 247 | ||
248 | This example defines a macro which sends `Ctrl-C` when pressed down, and `Ctrl-V` when released. | 248 | This example defines a macro which sends `Ctrl-C` when pressed down, and `Ctrl-V` when released. |
249 | 249 | ||
250 | ```c | 250 | ```c |
251 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { | 251 | const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt) { |