Skip to content

Commit

Permalink
Merge pull request #87676 from Mickeon/oooh-Reduz-of-the-past-You're-…
Browse files Browse the repository at this point in the history
…so-quirky

Mention and deprecate InputEventJoypadButton's pressure
  • Loading branch information
akien-mga committed Jan 30, 2024
2 parents 926a7df + 25c0c95 commit ba6ecf3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/classes/InputEventJoypadButton.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit ba6ecf3

Please sign in to comment.