GCGamepadSnapshot
A recording of all of the values provided by a Gcgamepad object.
Declaration
class GCGamepadSnapshotOverview
To create a gamepad snapshot, call the saveSnapshot() method on a GCGamepad object. The GCGamepadSnapshot class is a subclass of the GCGamepad class, so you use the parent class’s properties to read the individual element values. The snapshot is stored in a device independent format. To get the flattened data representation of the snapshot data, read the snapshotData property.
Topics
Converting Between Snapshots and Data Objects
Flattening a Snapshot to Memory
See Also
Deprecated symbols
GCGamepadGCExtendedGamepadSnapshotGCMicroGamepadSnapshotGCExtendedGamepadSnapshotDataGCMicroGamepadSnapshotDataGCExtendedGamepadSnapshotDataVersionGCMicroGamepadSnapshotDataVersionGCCurrentExtendedGamepadSnapshotDataVersionGCCurrentMicroGamepadSnapshotDataVersionGCExtendedGamepadSnapshotDataFromNSData(_:_:)GCMicroGamepadSnapshotDataFromNSData(_:_:)NSDataFromGCExtendedGamepadSnapshotData(_:)NSDataFromGCMicroGamepadSnapshotData(_:)