summaryrefslogtreecommitdiff
path: root/doc/classes
diff options
context:
space:
mode:
authorGilles Roudiere <gilles.roudiere@gmail.com>2019-06-01 15:31:47 +0200
committerGilles Roudiere <gilles.roudiere@gmail.com>2019-06-02 14:31:34 +0200
commitf24783283201a7508720c5bbc2548ef0563c8b99 (patch)
tree4c791d7c12ac8c29a7de3ed26ecba83c4b5768e9 /doc/classes
parent449395716f8bacafc667ce1cd5cd8e35572db0b2 (diff)
Add configurable strength value to InputEventAction
Diffstat (limited to 'doc/classes')
-rw-r--r--doc/classes/InputEventAction.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/classes/InputEventAction.xml b/doc/classes/InputEventAction.xml
index 25e9073ec7..9df7bbca74 100644
--- a/doc/classes/InputEventAction.xml
+++ b/doc/classes/InputEventAction.xml
@@ -18,6 +18,9 @@
<member name="pressed" type="bool" setter="set_pressed" getter="is_pressed">
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">
+ The action's strength between 0 and 1. This value is consired 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>
<constants>
</constants>