Sfoglia il codice sorgente

[3.x] Mention InputEventJoypadButton's pressure not working

(cherry picked from commit 9b1f1d5b6ed9858b785baa94ac8318c73c473087)
Micky 1 anno fa
parent
commit
8de3ea539d
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      doc/classes/InputEventJoypadButton.xml

+ 1 - 0
doc/classes/InputEventJoypadButton.xml

@@ -20,6 +20,7 @@
 		</member>
 		<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
 			Represents the pressure the user puts on the button with their finger, if the controller supports it. Ranges from [code]0[/code] to [code]1[/code].
+			[b]Note:[/b] This property is never set by the engine and is always [code]0[/code].
 		</member>
 	</members>
 	<constants>