Cast the node to given type if it accepts input using the given method.
Get the ID of an input action.
Helper function to run an input action handler through one of the possible overloads.
Uniform wrapper over the varied set of input action handler variants.
Run a handler for an input action.
Run a handler for an input action.
I/O interface for mapping input events to input actions.
This is a base interface for nodes that respond to input actions. While ActionIO shouldn't interact with nodes directly, input handling systems like FocusIO or HoverIO will expect nodes to implement this interface if they support input actions.
Wraps an input action handler.
Represents an event coming from an input device, like a pressed key, button or a gesture.
Uniquely codes a pressed key, button or a gesture, by using an I/O ID and event code map. Each I/O interface can define its own keys and buttons it needs to map. The way it maps codes to buttons is left up to the interface to define, but it usually is with an enum.
Find every input action handler in the given type, and check which input actions it handles.
Template with a set of functions for creating input event and input event codes from an enum. It can be used as a mixin in device nodes; see MouseIO and KeyboardIO for sample usage.
Check if the given symbol defines an input action.
This module contains interfaces for mapping input events to input actions.