Edit

Share via


GCMicroGamepadSnapShotDataV100 Struct

Definition

Represents the instantaneous state of a micro gamepad in V100 format at a point in time.

[ObjCRuntime.TV(9, 0)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 14, 4, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.TvOS, 12, 2, ObjCRuntime.PlatformArchitecture.None, "Use 'GCMicroGamepadSnapshotData' instead.")]
public struct GCMicroGamepadSnapShotDataV100
[ObjCRuntime.TV(9, 0)]
public struct GCMicroGamepadSnapShotDataV100
type GCMicroGamepadSnapShotDataV100 = struct
Inheritance
GCMicroGamepadSnapShotDataV100
Attributes

Fields

ButtonA

The value of ButtonA when the snapshot was taken.

ButtonX

The value of ButtonX when the snapshot was taken.

DPadX

The Xv alue of the D-pad input when the snapshot was taken.

DPadY

The Y value of the D-pad input when the snapshot was taken.

Size

The size of the snapshot, in bytes.

Version

The micro gamepad version.

Methods

ToNSData()

Converts the snapshot to an NSData object.

Applies to