RetroArch
|
#import <GCExtendedGamepadSnapshot.h>
Instance Methods | |
(instancetype) | - initWithSnapshotData: |
(instancetype) | - initWithController:snapshotData: |
Instance Methods inherited from GCExtendedGamepad | |
(GCExtendedGamepadSnapshot *) | - saveSnapshot |
Additional Inherited Members | |
Protected Types inherited from GCExtendedGamepad | |
typedef void(^ | GCExtendedGamepadValueChangedHandler) (GCExtendedGamepad *gamepad, GCControllerElement *element) |
A GCExtendedGamepadSnapshot snapshot is a concrete GCExtendedGamepad implementation. It can be used directly in an application to implement controller input replays. It is also returned as the result of polling a controller.
The current snapshotData is readily available to access as NSData. A developer can serialize this to any destination necessary using the NSData API.
The data contains some version of a GCExtendedGamepadSnapShotData structure.
- (instancetype) initWithController: | (GCController *) | controller | |
snapshotData: | (NSData *) | data | |
- (instancetype) initWithSnapshotData: | (NSData *) | data |
|
readwriteatomiccopy |