Update to 'peterfalken' userspace configurations (#21836)
This commit is contained in:
		
							parent
							
								
									9f0f39555c
								
							
						
					
					
						commit
						e67a4ba7ce
					
				
					 2 changed files with 10 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,7 @@
 | 
			
		|||
#endif
 | 
			
		||||
 | 
			
		||||
// Space optimizations
 | 
			
		||||
#define LAYER_STATE_8BIT
 | 
			
		||||
#undef LOCKING_SUPPORT_ENABLE
 | 
			
		||||
#undef LOCKING_RESYNC_ENABLE
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,15 @@
 | 
			
		|||
 | 
			
		||||
#include "peterfalken.h"
 | 
			
		||||
 | 
			
		||||
// Magic keycodes - overwrite placeholder functions
 | 
			
		||||
uint16_t keycode_config(uint16_t keycode) {
 | 
			
		||||
    return keycode;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
uint8_t mod_config(uint8_t mod) {
 | 
			
		||||
    return mod;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Switch layer
 | 
			
		||||
#ifndef CUSTOM_LAYER_STATE
 | 
			
		||||
layer_state_t layer_state_set_user(layer_state_t state) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue