win32: ignore 0xFF virtual keyboard code
This commit is contained in:
		
							parent
							
								
									60b2a7d67b
								
							
						
					
					
						commit
						d0864d5fbf
					
				@ -173,6 +173,8 @@ static LRESULT CALLBACK Win32_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP
 | 
				
			|||||||
    case VK_LWIN:
 | 
					    case VK_LWIN:
 | 
				
			||||||
    case VK_RWIN:
 | 
					    case VK_RWIN:
 | 
				
			||||||
    case VK_NUMLOCK:
 | 
					    case VK_NUMLOCK:
 | 
				
			||||||
 | 
					    case 0xff:  // ignore 0xff which is invalid but returned with some specific keys
 | 
				
			||||||
 | 
					                // such as laptop Fn+something combinaisons
 | 
				
			||||||
      break;
 | 
					      break;
 | 
				
			||||||
    default:
 | 
					    default:
 | 
				
			||||||
      Key = wParam|Get_Key_modifiers();
 | 
					      Key = wParam|Get_Key_modifiers();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user