Contents

GCDualShockGamepad

A controller profile that supports the DualShock 4 controller.

Declaration

class GCDualShockGamepad

Overview

The DualShock 4 controller profile is similar to an extended gamepad (GCExtendedGamepad), but has a touchpad with a button and two-finger tracking.

[Image]

This profile also supports motion — that is, the controller’s motion property is non-nil. If you hold the controller in front of you, the direction of the axes are:

  • The positive x-axis points to your right.

  • The positive y-axis points up.

  • The positive z-axis starts at the touchpad and points to you.

[Image]

Topics

Getting button input

Tracking finger locations

Accessing elements by name

See Also

Accessing controller profiles