doc: Add default values to all properties
Thanks to @bojidar-bg's impressive work in #29380.
This commit is contained in:
@ -12,13 +12,13 @@
|
||||
<methods>
|
||||
</methods>
|
||||
<members>
|
||||
<member name="action" type="String" setter="set_action" getter="get_action">
|
||||
<member name="action" type="String" setter="set_action" getter="get_action" default="""">
|
||||
The action's name. Actions are accessed via this [String].
|
||||
</member>
|
||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
|
||||
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed" default="false">
|
||||
If [code]true[/code], the action's state is pressed. If [code]false[/code], the action's state is released.
|
||||
</member>
|
||||
<member name="strength" type="float" setter="set_strength" getter="get_strength">
|
||||
<member name="strength" type="float" setter="set_strength" getter="get_strength" default="1.0">
|
||||
The action's strength between 0 and 1. This value is considered as equal to 0 if pressed is [code]false[/code]. The event strength allows faking analog joypad motion events, by precising how strongly is the joypad axis bent or pressed.
|
||||
</member>
|
||||
</members>
|
||||
|
||||
Reference in New Issue
Block a user