InputMapChain.findEvents

Find the given event type among ones that were emitted this frame. Safety: The range has to be exhausted immediately. No input events can be emitted before the range is disposed of, or the range will break.

class InputMapChain
@system
findEvents

Parameters

code InputEventCode

Input event code to find.

Return Value

Type: auto

A range with all emitted events that match the query.

Meta