diff options
author | skullY <[email protected]> | 2019-01-23 15:43:48 -0800 |
---|---|---|
committer | skullydazed <[email protected]> | 2019-02-10 15:37:12 -0800 |
commit | fd698c43d78ebbc42c1eb2bec74078b791616ad1 (patch) | |
tree | f55a2cd8a3af7052d9244e5ad96dd3fffa6fb5e0 /quantum/rgb_matrix.h | |
parent | aeafcc9fd3f41fce6506af5ccf9d9a1fe3b968d8 (diff) | |
download | qmk_firmware-fd698c43d78ebbc42c1eb2bec74078b791616ad1.tar.gz qmk_firmware-fd698c43d78ebbc42c1eb2bec74078b791616ad1.zip |
The beginning of a simple led matrix driver for is31fl3731
Diffstat (limited to 'quantum/rgb_matrix.h')
-rw-r--r-- | quantum/rgb_matrix.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/quantum/rgb_matrix.h b/quantum/rgb_matrix.h index e43532d11e..b64ddec074 100644 --- a/quantum/rgb_matrix.h +++ b/quantum/rgb_matrix.h @@ -50,25 +50,17 @@ typedef struct rgb_led { extern const rgb_led g_rgb_leds[DRIVER_LED_TOTAL]; -typedef struct -{ - HSV color; - uint8_t index; -} rgb_indicator; - typedef union { uint32_t raw; struct { bool enable :1; uint8_t mode :6; - uint16_t hue :9; - uint8_t sat :8; uint8_t val :8; uint8_t speed :8;//EECONFIG needs to be increased to support this }; -} rgb_config_t; +} led_config_t; -enum rgb_matrix_effects { +enum _matrix_effects { RGB_MATRIX_SOLID_COLOR = 1, #ifndef DISABLE_RGB_MATRIX_ALPHAS_MODS RGB_MATRIX_ALPHAS_MODS, |