mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-31 05:31:01 +00:00 
			
		
		
		
	Fix Android mouse capture issues
- Allow mouse capture to be enabled in `_ready` - Update the input handler logic to avoid dropping mouse captured motion events
This commit is contained in:
		
							parent
							
								
									15ff450680
								
							
						
					
					
						commit
						bea6472ea4
					
				
					 2 changed files with 7 additions and 5 deletions
				
			
		|  | @ -337,7 +337,7 @@ void AndroidInputHandler::process_mouse_event(int p_event_action, int p_event_an | |||
| 		} break; | ||||
| 
 | ||||
| 		case AMOTION_EVENT_ACTION_MOVE: { | ||||
| 			if (!mouse_event_info.valid) { | ||||
| 			if (!p_source_mouse_relative && !mouse_event_info.valid) { | ||||
| 				return; | ||||
| 			} | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fredia Huya-Kouadio
						Fredia Huya-Kouadio