mappedPhysicalInputNames(forElementAlias:)
Returns the physical input elements to which the user remaps the given input element.
Declaration
func mappedPhysicalInputNames(forElementAlias elementAlias: String) -> Set<String>Parameters
- elementAlias:
The name of the input element too which physical input elements remap. For possible values, see Extended Gamepad Input Names.
Return Value
The names of the physical input element to which the user remaps the given element.
Discussion
For example, if the user maps a physical press of A button , B button, and X button to button B, then passing GCInputButtonB returns a set that contains GCInputButtonA, GCInputButtonB, and GCInputButtonX.