[Core] Add OS detection callbacks (#21777)
This commit is contained in:
		
							parent
							
								
									77e8867498
								
							
						
					
					
						commit
						80f3da36e5
					
				
					 8 changed files with 440 additions and 61 deletions
				
			
		| 
						 | 
				
			
			@ -236,6 +236,10 @@ extern layer_state_t layer_state;
 | 
			
		|||
#    include "process_repeat_key.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
#ifdef OS_DETECTION_ENABLE
 | 
			
		||||
#    include "os_detection.h"
 | 
			
		||||
#endif
 | 
			
		||||
 | 
			
		||||
void set_single_persistent_default_layer(uint8_t default_layer);
 | 
			
		||||
 | 
			
		||||
#define IS_LAYER_ON(layer) layer_state_is(layer)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue