Skip to main content

InputSourcePair

A class in Root.Township, the global namespace.

An input source made of a primary and optional secondary input (for example a key and a button), built by ControllerAction from a platform mapping.

Constructors​

MemberWhat it is
InputSourcePair()Creates an InputSourcePair with default values.

Fields​

MemberWhat it is
PlayerInput controllerThe hand's PlayerInput this pair belongs to.
PlatformActionMapping parentMappingPlatform mapping the pair was built from.
InputSource primaryInputFirst input source.
InputSource secondaryInputSecond input source, if any.

Used in​

Members of other types that take, return or hold a InputSourcePair: