parent
							
								
									1ec8ae8a49
								
							
						
					
					
						commit
						799046fd9d
					
				
					 9 changed files with 207 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -15,3 +15,15 @@
 | 
			
		|||
 */
 | 
			
		||||
 | 
			
		||||
#include "quark.h"
 | 
			
		||||
 | 
			
		||||
bool encoder_update_kb(uint8_t index, bool clockwise) {
 | 
			
		||||
    if (!encoder_update_user(index, clockwise)) { return false; }
 | 
			
		||||
    if (index == 0) {
 | 
			
		||||
        if (clockwise) {
 | 
			
		||||
            tap_code_delay(KC_VOLD, 10);
 | 
			
		||||
        } else {
 | 
			
		||||
            tap_code_delay(KC_VOLU, 10);
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
    return true;
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue