inital encoder implementation
This commit is contained in:
		
							parent
							
								
									018a0142d2
								
							
						
					
					
						commit
						ff4a1ae5d2
					
				
					 11 changed files with 135 additions and 34 deletions
				
			
		| 
						 | 
				
			
			@ -851,6 +851,9 @@ void matrix_init_quantum() {
 | 
			
		|||
  #ifdef RGB_MATRIX_ENABLE
 | 
			
		||||
    rgb_matrix_init_drivers();
 | 
			
		||||
  #endif
 | 
			
		||||
  #ifdef ENCODER_ENABLE
 | 
			
		||||
    encoder_init();
 | 
			
		||||
  #endif
 | 
			
		||||
  matrix_init_kb();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -885,6 +888,10 @@ void matrix_scan_quantum() {
 | 
			
		|||
    rgb_matrix_task_counter = ((rgb_matrix_task_counter + 1) % (RGB_MATRIX_SKIP_FRAMES + 1));
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  #ifdef ENCODER_ENABLE
 | 
			
		||||
    encoder_read();
 | 
			
		||||
  #endif
 | 
			
		||||
 | 
			
		||||
  matrix_scan_kb();
 | 
			
		||||
}
 | 
			
		||||
#if defined(BACKLIGHT_ENABLE) && defined(BACKLIGHT_PIN)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue