Mention and deprecate InputEventJoypadButton's pressure
(cherry picked from commit 25c0c95960
)
This commit is contained in:
parent
a0a44578aa
commit
848d93f144
|
@ -16,8 +16,9 @@
|
||||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||||
If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
|
If [code]true[/code], the button's state is pressed. If [code]false[/code], the button's state is released.
|
||||||
</member>
|
</member>
|
||||||
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0">
|
<member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0" is_deprecated="true">
|
||||||
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].
|
Represents the pressure the user puts on a pressure-sensitive button.
|
||||||
|
[i]Deprecated.[/i] This property is never set by the engine and is always [code]0[/code].
|
||||||
</member>
|
</member>
|
||||||
</members>
|
</members>
|
||||||
</class>
|
</class>
|
||||||
|
|
Loading…
Reference in New Issue