vitasdk
Documentation of the vitasdk
motion_dev.h File Reference
#include <psp2/types.h>
#include <stdint.h>

Go to the source code of this file.

Typedefs

typedef struct SceMotionDevAccCalibData SceMotionDevAccCalibData
 
typedef struct SceMotionDevCalibrationData SceMotionDevCalibrationData
 
typedef struct SceMotionDevCalibrationHeader SceMotionDevCalibrationHeader
 
typedef struct SceMotionDevMagnCalibData SceMotionDevMagnCalibData
 
typedef struct SceMotionDevDeviceInfo SceMotionDevDeviceInfo
 
typedef struct SceMotionDevDeviceLocation SceMotionDevDeviceLocation
 
typedef struct SceMotionDevGyroBiasData SceMotionDevGyroBiasData
 
typedef struct SceMotionDevGyroCalibData SceMotionDevGyroCalibData
 
typedef struct SceMotionDevModeInfo SceMotionDevModeInfo
 
typedef struct SceMotionDevData SceMotionDevData
 

Functions

int sceMotionDevGetAccCalibData (SceMotionDevAccCalibData *data)
 
int sceMotionDevGetAccCalibData2 (int port, SceMotionDevAccCalibData *data)
 
int sceMotionDevGetCalibrationData (SceUInt32 block_id, SceMotionDevCalibrationData *data, SceUInt32 data_num)
 
int sceMotionDevGetCalibrationHeader (SceUInt32 block_id, SceMotionDevCalibrationHeader *calib_header)
 
int sceMotionDevGetCurrentMagnCalibData (SceMotionDevMagnCalibData *data)
 
int sceMotionDevGetCurrentMagnStabilityLevel (SceUInt32 *level)
 
int sceMotionDevGetDeviceInfo (SceMotionDevDeviceInfo *device_info)
 
int sceMotionDevGetDeviceLocation (SceMotionDevDeviceLocation *location)
 
int sceMotionDevGetFactoryMagnCalibData (SceMotionDevMagnCalibData *data)
 
int sceMotionDevGetGyroBias (SceMotionDevGyroBiasData *bias)
 
int sceMotionDevGetGyroBias2 (int port, SceMotionDevGyroBiasData *bias)
 
int sceMotionDevGetGyroCalibData (SceMotionDevGyroCalibData *data)
 
int sceMotionDevGetGyroCalibData2 (int port, SceMotionDevGyroCalibData *data)
 
int sceMotionDevGetMeasMode (SceMotionDevModeInfo *mode_info)
 
int sceMotionDevIsReady (void)
 
int sceMotionDevMagnSamplingStart (void)
 
int sceMotionDevMagnSamplingStop (void)
 
int sceMotionDevRead (SceMotionDevData *data, int data_num, SceUInt32 *info)
 
int sceMotionDevRead2 (int port, SceMotionDevData *data, int data_num, SceUInt32 *info)
 
int sceMotionDevReadForMagnCalib (SceMotionDevData *data, int data_num)
 
int sceMotionDevSamplingStart (void)
 
int sceMotionDevSamplingStart2 (int port)
 
int sceMotionDevSamplingStop (void)
 
int sceMotionDevSamplingStop2 (int port)
 
int sceMotionDevSetSamplingMode (SceUInt32 mode)
 
int sceMotionDevUpdateMagnCalibData (const SceMotionDevMagnCalibData *data, SceUInt32 *tag)
 
int sceMotionDevUpdateMagnStabilityLevel (SceUInt32 level)