VIA Configurator Refactor (#7268)
* VIA Refactor * Remove old code * review changes * review changes * Fix cannonkeys/satisfaction75/prototype:via build * Add via.h to quantum.h * Move backlight init to after backlight config load * Merge branch 'master' into via_refactor_pr * Update user's rules.mk to new way of enabling VIA * Added id_switch_matrix_state * Review changes
This commit is contained in:
		
							parent
							
								
									b362595665
								
							
						
					
					
						commit
						320822d75b
					
				
					 167 changed files with 1502 additions and 3157 deletions
				
			
		| 
						 | 
				
			
			@ -8,6 +8,12 @@
 | 
			
		|||
    #include "rev1.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#include "via.h" // only for EEPROM address
 | 
			
		||||
#define EEPROM_ENABLED_ENCODER_MODES (VIA_EEPROM_CUSTOM_CONFIG_ADDR)
 | 
			
		||||
#define EEPROM_CUSTOM_BACKLIGHT (VIA_EEPROM_CUSTOM_CONFIG_ADDR+1)
 | 
			
		||||
#define EEPROM_DEFAULT_OLED (VIA_EEPROM_CUSTOM_CONFIG_ADDR+2)
 | 
			
		||||
#define EEPROM_CUSTOM_ENCODER (VIA_EEPROM_CUSTOM_CONFIG_ADDR+3)
 | 
			
		||||
 | 
			
		||||
/* screen off after this many milliseconds */
 | 
			
		||||
#define ScreenOffInterval 60000 /* milliseconds */
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -117,5 +123,5 @@ void backlight_set(uint8_t level);
 | 
			
		|||
bool is_breathing(void);
 | 
			
		||||
void breathing_enable(void);
 | 
			
		||||
void breathing_disable(void);
 | 
			
		||||
void load_custom_config(void);
 | 
			
		||||
void save_backlight_config_to_eeprom(void);
 | 
			
		||||
void custom_config_load(void);
 | 
			
		||||
void backlight_config_save(void);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue