From cf30c5d17f2a447e7e43a4af8941ac0271c5b44c Mon Sep 17 00:00:00 2001
From: Rob Haswell <me@robhaswell.co.uk>
Date: Tue, 7 Jan 2020 21:25:17 +0000
Subject: RGB matrix effect - left-right gradient (#7742)

* Left-right gradient.

* Update the comment to match the new functionality.

* CPP does integer division so this round is not necessary.

* The x-range is actually 224, update comment and use bit-shifting again.

* Update docs with gradient left-right effect and associated "DISABLE" option.
---
 docs/feature_rgb_matrix.md | 1 +
 1 file changed, 1 insertion(+)

(limited to 'docs')

diff --git a/docs/feature_rgb_matrix.md b/docs/feature_rgb_matrix.md
index 5695acc50..92fd62b32 100644
--- a/docs/feature_rgb_matrix.md
+++ b/docs/feature_rgb_matrix.md
@@ -199,6 +199,7 @@ enum rgb_matrix_effects {
     RGB_MATRIX_SOLID_COLOR = 1,     // Static single hue, no speed support
     RGB_MATRIX_ALPHAS_MODS,         // Static dual hue, speed is hue for secondary hue
     RGB_MATRIX_GRADIENT_UP_DOWN,    // Static gradient top to bottom, speed controls how much gradient changes
+    RGB_MATRIX_GRADIENT_LEFT_RIGHT,    // Static gradient left to right, speed controls how much gradient changes
     RGB_MATRIX_BREATHING,           // Single hue brightness cycling animation
     RGB_MATRIX_BAND_SAT,        // Single hue band fading saturation scrolling left to right
     RGB_MATRIX_BAND_VAL,        // Single hue band fading brightness scrolling left to right
-- 
cgit v1.2.3