Pārlūkot izejas kodu

doc: Mention `Input.MOUSE_MODE_CAPTURED` is raw on Windows and Linux

(cherry picked from commit f4e99e2e39b262e339bd7c1b47169ddf3c55f1a6)
Hugo Locurcio 6 gadi atpakaļ
vecāks
revīzija
1f8470eaf2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      doc/classes/Input.xml

+ 1 - 1
doc/classes/Input.xml

@@ -386,7 +386,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.