Remove deprecated callbacks for encoders and dip switches (#13404)
This commit is contained in:
		
							parent
							
								
									73d4d7dc2b
								
							
						
					
					
						commit
						b8a1e14f53
					
				
					 59 changed files with 338 additions and 458 deletions
				
			
		| 
						 | 
				
			
			@ -43,23 +43,6 @@ led_config_t g_led_config = { {
 | 
			
		|||
//     7 8 1 2
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void matrix_init_kb(void) {
 | 
			
		||||
	matrix_init_user();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void matrix_scan_kb(void) {
 | 
			
		||||
	matrix_scan_user();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#ifdef DIP_SWITCH_ENABLE
 | 
			
		||||
 __attribute__((weak))
 | 
			
		||||
bool dip_update(uint8_t index, bool active) { return true;}
 | 
			
		||||
 | 
			
		||||
 __attribute__((weak))
 | 
			
		||||
bool dip_switch_update_user(uint8_t index, bool active) {
 | 
			
		||||
    return dip_update(index, active);
 | 
			
		||||
}
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef SWAP_HANDS_ENABLE
 | 
			
		||||
__attribute__ ((weak))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue