GCExtendedGamepadSnapshot
A recording of all of the values provided by a Gcextendedgamepad object.
Declaration
class GCExtendedGamepadSnapshotOverview
To create a gamepad snapshot, call the saveSnapshot() method on a GCExtendedGamepad object. The GCExtendedGamepadSnapshot class is a subclass of the GCExtendedGamepad 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 Extended Snapshots and Data Objects
Flattening a Snapshot to Memory
See Also
Deprecated symbols
GCGamepadGCGamepadSnapshotGCMicroGamepadSnapshotGCExtendedGamepadSnapshotDataGCMicroGamepadSnapshotDataGCExtendedGamepadSnapshotDataVersionGCMicroGamepadSnapshotDataVersionGCCurrentExtendedGamepadSnapshotDataVersionGCCurrentMicroGamepadSnapshotDataVersionGCExtendedGamepadSnapshotDataFromNSData(_:_:)GCMicroGamepadSnapshotDataFromNSData(_:_:)NSDataFromGCExtendedGamepadSnapshotData(_:)NSDataFromGCMicroGamepadSnapshotData(_:)