Merge pull request #109552 from Calinou/doc-inputevent-is-action-type

Clarify the types `InputEvent.is_action_type()` will return `true` for
This commit is contained in:
Thaddeus Crews 2025-08-14 09:28:02 -05:00
commit e67074d0ab
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC

View file

@ -68,7 +68,7 @@
<method name="is_action_type" qualifiers="const">
<return type="bool" />
<description>
Returns [code]true[/code] if this input event's type is one that can be assigned to an input action.
Returns [code]true[/code] if this input event's type is one that can be assigned to an input action: [InputEventKey], [InputEventMouseButton], [InputEventJoypadButton], [InputEventJoypadMotion], [InputEventAction]. Returns [code]false[/code] for all other input event types.
</description>
</method>
<method name="is_canceled" qualifiers="const">