Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] Add MOUSE_MODE_CONFINED_HIDDEN to MouseMode enum #63643

Merged
merged 1 commit into from
Aug 8, 2022

Conversation

aaronfranke
Copy link
Member

This PR backports #43450 to Godot 3.x, since it was requested.

I have tested that this works on macOS, but this needs testing for the other platforms.

Minimal test script:

func _ready():
	Input.set_mouse_mode(Input.MOUSE_MODE_CONFINED_HIDDEN)

@aaronfranke aaronfranke added this to the 3.6 milestone Jul 29, 2022
@aaronfranke aaronfranke requested review from a team as code owners July 29, 2022 18:59
@aaronfranke aaronfranke changed the title Add MOUSE_MODE_CONFINED_HIDDEN to MouseMode enum [3.x] Add MOUSE_MODE_CONFINED_HIDDEN to MouseMode enum Jul 29, 2022
@akien-mga
Copy link
Member

Tested on Linux X11, seems to work as expected.

@akien-mga akien-mga merged commit 7dc8ec0 into godotengine:3.x Aug 8, 2022
@akien-mga
Copy link
Member

Thanks!

@aaronfranke aaronfranke deleted the 3.x-mouse-mode-ch branch August 8, 2022 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants