Fix modifier stuck of Lock command(#127)
This commit is contained in:
		
							parent
							
								
									2e17aa2d60
								
							
						
					
					
						commit
						22d99f26af
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -194,6 +194,7 @@ static bool command_common(uint8_t code)
 | 
			
		|||
        case KC_CAPSLOCK:
 | 
			
		||||
            if (host_get_driver()) {
 | 
			
		||||
                host_driver = host_get_driver();
 | 
			
		||||
                clear_keyboard();
 | 
			
		||||
                host_set_driver(0);
 | 
			
		||||
                print("Locked.\n");
 | 
			
		||||
            } else {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue