godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
89.11k stars 20.2k forks source link

MOUSE_MODE_CAPTURED - Remote Desktop (Raw Input Issue) #95501

Open Feral-Sage opened 1 month ago

Feral-Sage commented 1 month ago

Tested versions

System information

Windows 10 - Godot 4.2.2 Stable

Issue description

When editing a game using remote desktop you are unable to use "mouse_mode = MOUSE_MODE_CAPTURED" All other mouse modes work. I assume this is because that is the only mouse mode that uses raw input for mouse motion and because I am editing remote the mouse input is external.

Steps to reproduce

use RDP to edit a godot project and set mouse mode to MOUSE_MODE_CAPTURED Primordial-main.zip

Minimal reproduction project (MRP)

use RDP to edit a godot project and set mouse mode to MOUSE_MODE_CAPTURED

Hilderin commented 1 month ago

I fixed the same problem (I think) in GLFW: https://github.com/glfw/glfw/pull/2431