mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-30 04:37:14 +06:00
6209122213
* [Keymap] Add vitoni layout for GMMK Pro (ISO) Keymap has layered cursor keys similar to laptop keyboards. * Configure RGB defaults for startup * Configure encoder to change value/brightness on FN layer * Remove FN layer and add dedicated RGB layer * Make RGB layer sticky (using TG) to avoid holding FN while configuring RGB * Add RGB indicators for active layers * Add RGB indicator for active RESET mode Signed-off-by: Victor Toni <victor.toni@gmail.com> * Configure idle / USB suspend settings * Add RGB fade in when resuming after suspend * Add RGB fade out before suspend * Add fade out before idle * Add breathe effect when idle |
||
---|---|---|
.. | ||
readme.adoc | ||
rgb_matrix_effects.c | ||
rgb_matrix_effects.h | ||
rules.mk | ||
utils.c | ||
utils.h | ||
vitoni.c | ||
vitoni.h |
= User functions Functions are mostly related to changing the RGB lights depending on user interaction and when idling. == utils.h Common functions are declared in link:utils.h[]. These function are not directly RGB related but used to modify state and calculate values. == rgb_matrix_effects.h Functions in link:rgb_matrix_effects.h[] make use of common function in `utils.h` and are used to create to RGB matrix effects such as fading or breathing. == vitoni.h The functions declared in link:vitoni.h[] are used as entry points for usage of RGB effects. One entry point is `matrix_scan` based for regular task while the other is `process_record` based for user activity tasks.