aboutsummaryrefslogtreecommitdiff
path: root/keyboards/mechlovin
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2021-10-11 10:57:49 +1100
committerGitHub <noreply@github.com>2021-10-10 16:57:49 -0700
commitb487e10753c26204146ef8f1e71d18ff503675d2 (patch)
treee207c357d2b6733ff9c0ea64e78b14498051976a /keyboards/mechlovin
parenta7810db7ba35c5354708891ad3da317937e953d3 (diff)
downloadqmk_firmware-b487e10753c26204146ef8f1e71d18ff503675d2.tar.gz
qmk_firmware-b487e10753c26204146ef8f1e71d18ff503675d2.zip
Clean up LED/RGB Matrix driver config (#14760)
Diffstat (limited to 'keyboards/mechlovin')
-rw-r--r--keyboards/mechlovin/adelais/rgb_led/rev3/config.h4
-rw-r--r--keyboards/mechlovin/delphine/rgb_led/config.h3
-rw-r--r--keyboards/mechlovin/infinity87/rgb_rev1/config.h4
3 files changed, 2 insertions, 9 deletions
diff --git a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
index f55d386f7..5b3a8e825 100644
--- a/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
+++ b/keyboards/mechlovin/adelais/rgb_led/rev3/config.h
@@ -50,10 +50,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
50// 0b1110101 AD <-> SCL 50// 0b1110101 AD <-> SCL
51// 0b1110110 AD <-> SDA 51// 0b1110110 AD <-> SDA
52#define DRIVER_ADDR_1 0b0110010 52#define DRIVER_ADDR_1 0b0110010
53#define DRIVER_ADDR_2 0b0110010
54#define DRIVER_COUNT 1 53#define DRIVER_COUNT 1
55#define DRIVER_1_LED_TOTAL 66 54#define DRIVER_LED_TOTAL 66
56#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
57#define RGB_MATRIX_KEYPRESSES // reacts to keypresses 55#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
58#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) 56#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
59#define RGB_MATRIX_FRAMEBUFFER_EFFECTS 57#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
diff --git a/keyboards/mechlovin/delphine/rgb_led/config.h b/keyboards/mechlovin/delphine/rgb_led/config.h
index 9a653d759..edb476ecb 100644
--- a/keyboards/mechlovin/delphine/rgb_led/config.h
+++ b/keyboards/mechlovin/delphine/rgb_led/config.h
@@ -33,10 +33,7 @@
33// 0b1110101 AD <-> SCL 33// 0b1110101 AD <-> SCL
34// 0b1110110 AD <-> SDA 34// 0b1110110 AD <-> SDA
35#define DRIVER_ADDR_1 0b1110110 35#define DRIVER_ADDR_1 0b1110110
36#define DRIVER_ADDR_2 0b1110100
37#define DRIVER_COUNT 1 36#define DRIVER_COUNT 1
38#define DRIVER_1_LED_TOTAL 25
39#define DRIVER_2_LED_TOTAL 0
40#define DRIVER_LED_TOTAL 25 37#define DRIVER_LED_TOTAL 25
41#define RGB_MATRIX_KEYPRESSES // reacts to keypresses 38#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
42#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses) 39#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
diff --git a/keyboards/mechlovin/infinity87/rgb_rev1/config.h b/keyboards/mechlovin/infinity87/rgb_rev1/config.h
index 76c6e0db7..8cef83f89 100644
--- a/keyboards/mechlovin/infinity87/rgb_rev1/config.h
+++ b/keyboards/mechlovin/infinity87/rgb_rev1/config.h
@@ -44,8 +44,6 @@
44#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL 44#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
45//#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE 45//#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_REACTIVE_SIMPLE
46#define DRIVER_ADDR_1 0b0110010 46#define DRIVER_ADDR_1 0b0110010
47#define DRIVER_ADDR_2 0b0110010 // this is here for compliancy reasons.
48#define DRIVER_COUNT 1 47#define DRIVER_COUNT 1
49#define DRIVER_1_LED_TOTAL 91 48#define DRIVER_LED_TOTAL 91
50#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
51#define DRIVER_INDICATOR_LED_TOTAL 0 49#define DRIVER_INDICATOR_LED_TOTAL 0