Go to the source code of this file.
◆ GCGamepadSnapShotDataV100FromNSData()
Fills out a v100 snapshot from any compatible NSData source
- Returns
- NO if data is nil, snapshotData is nil or the contents of data does not contain a compatible snapshot. YES for all other cases.
◆ NSDataFromGCGamepadSnapShotDataV100()
Creates an NSData object from a v100 snapshot. If the version and size is not set in the snapshot the data will automatically have version 0x100 and sizeof(GCGamepadSnapShotDataV100) set as the values implicitly.
- Returns
- nil if the snapshot is NULL, otherwise an NSData instance compatible with GCGamepadSnapshot.snapshotData