mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Delegate to the DisplayServer the task of handling mouse_mode
- Add `MOUSE_MODE_MAX` and various index checks
This commit is contained in:
@@ -1968,6 +1968,9 @@
|
||||
<constant name="MOUSE_MODE_CONFINED_HIDDEN" value="4" enum="MouseMode">
|
||||
Confines the mouse cursor to the game window, and make it hidden.
|
||||
</constant>
|
||||
<constant name="MOUSE_MODE_MAX" value="5" enum="MouseMode">
|
||||
Max value of the [enum MouseMode].
|
||||
</constant>
|
||||
<constant name="SCREEN_WITH_MOUSE_FOCUS" value="-4">
|
||||
Represents the screen containing the mouse pointer.
|
||||
[b]Note:[/b] On Linux (Wayland), this constant always represents the screen at index [code]0[/code].
|
||||
|
||||
Reference in New Issue
Block a user