Clean up LED/RGB Matrix driver config (#14760)
This commit is contained in:
parent
a7810db7ba
commit
b487e10753
51 changed files with 198 additions and 265 deletions
|
|
@ -46,8 +46,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 63
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 63
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 63
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 63
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -72,8 +72,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 63
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 63
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 61
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 61
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 61
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 61
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -46,8 +46,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 62
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 62
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -56,8 +56,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 62
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 62
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -72,8 +72,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 62
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 62
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -49,9 +49,7 @@
|
|||
# define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_1_LED_TOTAL 68
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_LED_TOTAL 68
|
||||
# define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -157,8 +157,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// ADDR2 represents A3:A2 of the 7-bit address.
|
||||
// The result is: 0b101(ADDR2)(ADDR1)
|
||||
#define DRIVER_ADDR_1 0b1010000
|
||||
#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 64
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 64
|
||||
|
|
|
|||
|
|
@ -31,8 +31,6 @@
|
|||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
#define DRIVER_ADDR_1 0b1010000
|
||||
#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 63
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 63
|
||||
|
|
|
|||
|
|
@ -48,10 +48,8 @@
|
|||
//#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 108
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_LED_TOTAL 108
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
|
||||
|
|
|
|||
|
|
@ -48,10 +48,8 @@
|
|||
//#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_SOLID_COLOR
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 109
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_LED_TOTAL 109
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
#define DYNAMIC_KEYMAP_LAYER_COUNT 2
|
||||
|
|
|
|||
|
|
@ -54,8 +54,7 @@
|
|||
# define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
# define DRIVER_ADDR_1 0b0110000
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_1_LED_TOTAL 83
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_LED_TOTAL 83
|
||||
# define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
|
||||
|
|
|
|||
|
|
@ -67,9 +67,7 @@
|
|||
#define RGB_MATRIX_LED_FLUSH_LIMIT 26
|
||||
#define RGB_MATRIX_STARTUP_MODE RGB_MATRIX_CYCLE_ALL
|
||||
#define DRIVER_ADDR_1 0b0110000
|
||||
#define DRIVER_ADDR_2 0b0110000 // this is here for compliancy reasons.
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 67
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_LED_TOTAL 67
|
||||
#define DRIVER_INDICATOR_LED_TOTAL 0
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -54,10 +54,8 @@
|
|||
#define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
#define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
#define DRIVER_ADDR_1 0b1010000
|
||||
#define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
#define DRIVER_COUNT 2
|
||||
#define DRIVER_1_LED_TOTAL 52
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_LED_TOTAL 52
|
||||
#endif
|
||||
|
||||
/* disable these deprecated features by default */
|
||||
|
|
|
|||
|
|
@ -72,8 +72,6 @@
|
|||
# define DISABLE_RGB_MATRIX_SOLID_MULTISPLASH
|
||||
# define DISABLE_RGB_MATRIX_DIGITAL_RAIN
|
||||
# define DRIVER_ADDR_1 0b1010000
|
||||
# define DRIVER_ADDR_2 0b1010000 // this is here for compliancy reasons.
|
||||
# define DRIVER_COUNT 2
|
||||
# define DRIVER_1_LED_TOTAL 60
|
||||
# define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
# define DRIVER_COUNT 1
|
||||
# define DRIVER_LED_TOTAL 60
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -84,14 +84,9 @@
|
|||
// 0b1110101 AD <-> SCL
|
||||
// 0b1110110 AD <-> SDA
|
||||
#define DRIVER_ADDR_1 0b1110100
|
||||
//#define DRIVER_ADDR_2 0b1110110
|
||||
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 6
|
||||
//#define DRIVER_1_LED_TOTAL 25
|
||||
//#define DRIVER_2_LED_TOTAL 24
|
||||
//#define DRIVER_LED_TOTAL (DRIVER_1_LED_TOTAL + DRIVER_2_LED_TOTAL)
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_LED_TOTAL 6
|
||||
#endif
|
||||
//#define RGB_DI_PIN B7
|
||||
//#ifdef RGB_DI_PIN
|
||||
|
|
|
|||
|
|
@ -50,10 +50,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
// 0b1110101 AD <-> SCL
|
||||
// 0b1110110 AD <-> SDA
|
||||
#define DRIVER_ADDR_1 0b0110010
|
||||
#define DRIVER_ADDR_2 0b0110010
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 66
|
||||
#define DRIVER_LED_TOTAL DRIVER_1_LED_TOTAL
|
||||
#define DRIVER_LED_TOTAL 66
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
#define RGB_MATRIX_FRAMEBUFFER_EFFECTS
|
||||
|
|
|
|||
|
|
@ -33,10 +33,7 @@
|
|||
// 0b1110101 AD <-> SCL
|
||||
// 0b1110110 AD <-> SDA
|
||||
#define DRIVER_ADDR_1 0b1110110
|
||||
#define DRIVER_ADDR_2 0b1110100
|
||||
#define DRIVER_COUNT 1
|
||||
#define DRIVER_1_LED_TOTAL 25
|
||||
#define DRIVER_2_LED_TOTAL 0
|
||||
#define DRIVER_LED_TOTAL 25
|
||||
#define RGB_MATRIX_KEYPRESSES // reacts to keypresses
|
||||
#define RGB_MATRIX_KEYRELEASES // reacts to keyreleases (instead of keypresses)
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue