Auto shift: support repeats and early registration (#9826)
Fixes #7048. Co-authored-by: IsaacElenbaas <isaacelenbaas@gmail.com>
This commit is contained in:
		
							parent
							
								
									63a06fe220
								
							
						
					
					
						commit
						fd8f65959e
					
				
					 4 changed files with 195 additions and 73 deletions
				
			
		|  | @ -58,6 +58,10 @@ float bell_song[][2] = SONG(TERMINAL_SOUND); | |||
| #    endif | ||||
| #endif | ||||
| 
 | ||||
| #ifdef AUTO_SHIFT_ENABLE | ||||
| #    include "process_auto_shift.h" | ||||
| #endif | ||||
| 
 | ||||
| static void do_code16(uint16_t code, void (*f)(uint8_t)) { | ||||
|     switch (code) { | ||||
|         case QK_MODS ... QK_MODS_MAX: | ||||
|  | @ -671,6 +675,10 @@ void matrix_scan_quantum() { | |||
|     dip_switch_read(false); | ||||
| #endif | ||||
| 
 | ||||
| #ifdef AUTO_SHIFT_ENABLE | ||||
|     autoshift_matrix_scan(); | ||||
| #endif | ||||
| 
 | ||||
|     matrix_scan_kb(); | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dean Scarff
						Dean Scarff