Allow for RGB actions to take place on Keydown instead of Keyup (#16886)

* Allow for switch on keydown

* add docs
This commit is contained in:
CoffeeIsLife 2022-07-02 07:49:49 -05:00 committed by GitHub
parent 4e35697e1a
commit 0365f640af
Failed to generate hash of commit
2 changed files with 5 additions and 0 deletions

View file

@ -777,6 +777,7 @@ These are defined in [`color.h`](https://github.com/qmk/qmk_firmware/blob/master
#define RGB_MATRIX_DISABLE_KEYCODES // disables control of rgb matrix by keycodes (must use code functions to control the feature)
#define RGB_MATRIX_SPLIT { X, Y } // (Optional) For split keyboards, the number of LEDs connected on each half. X = left, Y = Right.
// If RGB_MATRIX_KEYPRESSES or RGB_MATRIX_KEYRELEASES is enabled, you also will want to enable SPLIT_TRANSPORT_MIRROR
#define RGB_TRIGGER_ON_KEYDOWN // Triggers RGB keypress events on key down. This makes RGB control feel more responsive. This may cause RGB to not function properly on some boards
```
## EEPROM storage :id=eeprom-storage