Skip to content

Commit

Permalink
doc: Mention Input.MOUSE_MODE_CAPTURED is raw on Windows and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Calinou authored and myhalibobo committed Sep 3, 2019
1 parent 1a20456 commit a1151a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/classes/Input.xml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@
Makes the mouse cursor hidden if it is visible.
</constant>
<constant name="MOUSE_MODE_CAPTURED" value="2" enum="MouseMode">
Captures the mouse. The mouse will be hidden and unable to leave the game window, but it will still register movement and mouse button presses.
Captures the mouse. The mouse will be hidden and unable to leave the game window, but it will still register movement and mouse button presses. On Windows and Linux, the mouse will use raw input mode, which means the reported movement will be unaffected by the OS' mouse acceleration settings.
</constant>
<constant name="MOUSE_MODE_CONFINED" value="3" enum="MouseMode">
Makes the mouse cursor visible but confines it to the game window.
Expand Down

0 comments on commit a1151a3

Please sign in to comment.