Remove the need to specify NUM_OF_ENCODERS for the Encoder feature (#6328)
* Remove the need to set NUM_OF_ENCODERS Instead, calculate the size of the array, and use that instead * Add hack for split common support * Remove NUM_OF_ENCODERS from keyboard config Can be reverted, if needed
This commit is contained in:
		
							parent
							
								
									97a3f806c4
								
							
						
					
					
						commit
						f6c7e11426
					
				
					 20 changed files with 11 additions and 31 deletions
				
			
		| 
						 | 
				
			
			@ -6,7 +6,6 @@ Basic encoders are supported by adding this to your `rules.mk`:
 | 
			
		|||
 | 
			
		||||
and this to your `config.h`:
 | 
			
		||||
 | 
			
		||||
    #define NUMBER_OF_ENCODERS 1
 | 
			
		||||
    #define ENCODERS_PAD_A { B12 }
 | 
			
		||||
    #define ENCODERS_PAD_B { B13 }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue