Enable RGB underglow on the CO60 and SteamVan, switch backlight code to QMK built-in code (#7874)
* Add: RGB underglow support using SPI to SteamVan and CO60 * Update: Switch to QMK's baclight implementation for CO60 and SteamVan * Fix: Remove now unnecessary backlighting code from keyboard files
This commit is contained in:
		
							parent
							
								
									b89e35bdd3
								
							
						
					
					
						commit
						be7d70b15c
					
				
					 23 changed files with 24 additions and 922 deletions
				
			
		| 
						 | 
				
			
			@ -15,25 +15,3 @@
 | 
			
		|||
 */
 | 
			
		||||
#include "rev7.h"
 | 
			
		||||
 | 
			
		||||
#include "backlight.h"
 | 
			
		||||
#include "led.h"
 | 
			
		||||
#include "printf.h"
 | 
			
		||||
 | 
			
		||||
backlight_levels_config_t kb_backlight_config = {
 | 
			
		||||
  .enable = true,
 | 
			
		||||
  .breathing = true,
 | 
			
		||||
  .level = BACKLIGHT_LEVELS
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
uint8_t *o_fb;
 | 
			
		||||
 | 
			
		||||
uint16_t counterst = 0;
 | 
			
		||||
 | 
			
		||||
void matrix_init_kb(void) {
 | 
			
		||||
        matrix_init_user();
 | 
			
		||||
        backlight_init_ports();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void matrix_scan_kb(void) {
 | 
			
		||||
	matrix_scan_user();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue