Contents

dpads

The directional pads in the profile as key-value pairs for lookup by name.

Declaration

var dpads: [String : GCControllerDirectionPad] { get }

Discussion

Use the GCInputDualShockTouchpadOne name to access an element on a DualShock controller.

touchpadOne = physicalInputProfile.dpads[GCInputDualShockTouchpadOne]

See Also

Accessing elements by name or key