diff options
| author | André Silva <123550+andresilva@users.noreply.github.com> | 2021-01-14 19:29:00 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-14 11:29:00 -0800 |
| commit | 345a041cf54d93cb35eabf429a6d99ae603760c4 (patch) | |
| tree | f38759ece08a66948dd7ad9e23f5cc5b3946a263 /docs/feature_rgb_matrix.md | |
| parent | e9f73e54548a0eae05f62bebe25ea8cdd79dd991 (diff) | |
| download | qmk_firmware-345a041cf54d93cb35eabf429a6d99ae603760c4.tar.gz qmk_firmware-345a041cf54d93cb35eabf429a6d99ae603760c4.zip | |
allow customizing decrease delay of rgb heatmap (#11322)
* allow customizing decrease delay of rgb heatmap
* rename rgb typing heatmap decrease delay variable
* address review comments
* nix-shell: add clang-tools required for formatting the C code
* heatmap: use real timer to track decrement rate
* heatmap: fix ifndef var name typo
* heatmap: add docs
* Update docs/feature_rgb_matrix.md
Co-authored-by: Drashna Jaelre <drashna@live.com>
Co-authored-by: Drashna Jaelre <drashna@live.com>
Diffstat (limited to 'docs/feature_rgb_matrix.md')
| -rw-r--r-- | docs/feature_rgb_matrix.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md index a9e711c9f..7b597143c 100644 --- a/docs/feature_rgb_matrix.md +++ b/docs/feature_rgb_matrix.md | |||
| @@ -296,6 +296,19 @@ You can disable a single effect by defining `DISABLE_[EFFECT_NAME]` in your `con | |||
| 296 | |`#define DISABLE_RGB_MATRIX_SOLID_SPLASH` |Disables `RGB_MATRIX_SOLID_SPLASH` | | 296 | |`#define DISABLE_RGB_MATRIX_SOLID_SPLASH` |Disables `RGB_MATRIX_SOLID_SPLASH` | |
| 297 | |`#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH` |Disables `RGB_MATRIX_SOLID_MULTISPLASH` | | 297 | |`#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH` |Disables `RGB_MATRIX_SOLID_MULTISPLASH` | |
| 298 | 298 | ||
| 299 | ### RGB Matrix Effect Typing Heatmap :id=rgb-matrix-effect-typing-heatmap | ||
| 300 | |||
| 301 | This effect will color the RGB matrix according to a heatmap of recently pressed | ||
| 302 | keys. Whenever a key is pressed its "temperature" increases as well as that of | ||
| 303 | its neighboring keys. The temperature of each key is then decreased | ||
| 304 | automatically every 25 milliseconds by default. | ||
| 305 | |||
| 306 | In order to change the delay of temperature decrease define | ||
| 307 | `RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS`: | ||
| 308 | |||
| 309 | ```c | ||
| 310 | #define RGB_MATRIX_TYPING_HEATMAP_DECREASE_DELAY_MS 50 | ||
| 311 | ``` | ||
| 299 | 312 | ||
| 300 | ## Custom RGB Matrix Effects :id=custom-rgb-matrix-effects | 313 | ## Custom RGB Matrix Effects :id=custom-rgb-matrix-effects |
| 301 | 314 | ||
