forked from mirrors/qmk_userspace
		
	[Keymap] fix sigma keymaps build (#8427)
handle unicode input properly.
This commit is contained in:
		
					parent
					
						
							
								b272c035ba
							
						
					
				
			
			
				commit
				
					
						cce2420bb2
					
				
			
		
					 2 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1 +1,2 @@
 | 
			
		|||
BOOTLOADER = halfkay
 | 
			
		||||
UNICODE_ENABLE = yes
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -64,6 +64,7 @@ void led_set_keymap(uint8_t usb_led) {}
 | 
			
		|||
void set_os(uint8_t os) {
 | 
			
		||||
  runtime_userspace_config.os_target = os;
 | 
			
		||||
 | 
			
		||||
#if defined(UNICODE_ENABLE) || defined(UNICODEMAP_ENABLE) || defined(UCIS_ENABLE)
 | 
			
		||||
  switch (os) {
 | 
			
		||||
  case _OS_MACOS:
 | 
			
		||||
    set_unicode_input_mode(UC_OSX);
 | 
			
		||||
| 
						 | 
				
			
			@ -75,6 +76,7 @@ void set_os(uint8_t os) {
 | 
			
		|||
    set_unicode_input_mode(UC_WIN);
 | 
			
		||||
    break;
 | 
			
		||||
  }
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void matrix_init_user(void) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue