Add VIA support for QMK backlight, QMK RGBLight (#7911)
* Add VIA support for QMK backlight, QMK RGBLight * clang-format changes
This commit is contained in:
		
							parent
							
								
									ce81c4f89b
								
							
						
					
					
						commit
						484a9b12bc
					
				
					 37 changed files with 500 additions and 35 deletions
				
			
		| 
						 | 
				
			
			@ -26,9 +26,13 @@
 | 
			
		|||
#include "quantum/color.h"
 | 
			
		||||
#include "tmk_core/common/eeprom.h"
 | 
			
		||||
 | 
			
		||||
#include "via.h" // uses only the EEPROM address
 | 
			
		||||
#include "via.h" // uses EEPROM address, lighting value IDs
 | 
			
		||||
#define MONO_BACKLIGHT_CONFIG_EEPROM_ADDR (VIA_EEPROM_CUSTOM_CONFIG_ADDR)
 | 
			
		||||
 | 
			
		||||
#if VIA_EEPROM_CUSTOM_CONFIG_SIZE == 0
 | 
			
		||||
#error VIA_EEPROM_CUSTOM_CONFIG_SIZE was not defined to store backlight_config struct
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "drivers/issi/is31fl3736.h"
 | 
			
		||||
 | 
			
		||||
#define ISSI_ADDR_DEFAULT 0x50
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue