diff options
author | Micky <micheledevita2@gmail.com> | 2024-01-28 14:45:42 +0100 |
---|---|---|
committer | Micky <micheledevita2@gmail.com> | 2024-01-29 23:38:36 +0100 |
commit | 25c0c95960a6c6b8e65da7f9828fd83b3c6d1720 (patch) | |
tree | 39c491036eb5a2151cb1f36b7c29e462f5a6da75 /doc/classes/InputEventJoypadButton.xml | |
parent | 17e7f85c06366b427e5068c5b3e2940e27ff5f1d (diff) | |
download | redot-engine-25c0c95960a6c6b8e65da7f9828fd83b3c6d1720.tar.gz |
Mention and deprecate InputEventJoypadButton's pressure
Diffstat (limited to 'doc/classes/InputEventJoypadButton.xml')
-rw-r--r-- | doc/classes/InputEventJoypadButton.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/classes/InputEventJoypadButton.xml b/doc/classes/InputEventJoypadButton.xml index 4a1ecb962c..2516ef67dd 100644 --- a/doc/classes/InputEventJoypadButton.xml +++ b/doc/classes/InputEventJoypadButton.xml @@ -16,8 +16,9 @@ <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. </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]. + <member name="pressure" type="float" setter="set_pressure" getter="get_pressure" default="0.0" is_deprecated="true"> + 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> </members> </class> |