GCMicroGamepadSnapshot
A recording of all of the values provided by a Gcmicrogamepad object.
Declaration
class GCMicroGamepadSnapshotOverview
To create a gamepad snapshot, call the saveSnapshot() method on a GCMicroGamepad object. The GCMicroGamepadSnapshot class is a subclass of the GCMicroGamepad 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
GCGamepadGCExtendedGamepadSnapshotGCGamepadSnapshotGCExtendedGamepadSnapshotDataGCMicroGamepadSnapshotDataGCExtendedGamepadSnapshotDataVersionGCMicroGamepadSnapshotDataVersionGCCurrentExtendedGamepadSnapshotDataVersionGCCurrentMicroGamepadSnapshotDataVersionGCExtendedGamepadSnapshotDataFromNSData(_:_:)GCMicroGamepadSnapshotDataFromNSData(_:_:)NSDataFromGCExtendedGamepadSnapshotData(_:)NSDataFromGCMicroGamepadSnapshotData(_:)