Declare Unicode method hex_to_keycode() as “weak”
Declare Unicode method hex_to_keycode() as “weak” to be able to override it in keymaps.
This commit is contained in:
		
							parent
							
								
									35e6870e5c
								
							
						
					
					
						commit
						a3f5a4cf58
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -2,6 +2,7 @@
 | 
			
		|||
 | 
			
		||||
static uint8_t input_mode;
 | 
			
		||||
 | 
			
		||||
__attribute__((weak))
 | 
			
		||||
uint16_t hex_to_keycode(uint8_t hex)
 | 
			
		||||
{
 | 
			
		||||
  if (hex == 0x0) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue