vitasdk
Documentation of the vitasdk
motion_dev.h
Go to the documentation of this file.
1 
7 #ifndef _PSP2_MOTION_DEV_H_
8 #define _PSP2_MOTION_DEV_H_
9 
10 #include <psp2/types.h>
11 #include <stdint.h>
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
17 // missing structs
27 typedef struct SceMotionDevData SceMotionDevData;
28 
46 int sceMotionDevRead(SceMotionDevData* data, int data_num, SceUInt32 *info);
47 int sceMotionDevRead2(int port, SceMotionDevData *data, int data_num, SceUInt32 *info);
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 
61 #endif /* _PSP2_MOTION_DEV_H_ */
struct SceMotionDevDeviceInfo SceMotionDevDeviceInfo
Definition: motion_dev.h:22
int sceMotionDevGetGyroBias(SceMotionDevGyroBiasData *bias)
int sceMotionDevRead(SceMotionDevData *data, int data_num, SceUInt32 *info)
struct SceMotionDevCalibrationHeader SceMotionDevCalibrationHeader
Definition: motion_dev.h:20
int sceMotionDevGetDeviceLocation(SceMotionDevDeviceLocation *location)
int sceMotionDevReadForMagnCalib(SceMotionDevData *data, int data_num)
int sceMotionDevSamplingStop2(int port)
int sceMotionDevIsReady(void)
int sceMotionDevGetAccCalibData(SceMotionDevAccCalibData *data)
int sceMotionDevSamplingStart(void)
int sceMotionDevSamplingStop(void)
int sceMotionDevGetGyroBias2(int port, SceMotionDevGyroBiasData *bias)
int sceMotionDevMagnSamplingStart(void)
int sceMotionDevGetDeviceInfo(SceMotionDevDeviceInfo *device_info)
int sceMotionDevUpdateMagnStabilityLevel(SceUInt32 level)
int sceMotionDevGetGyroCalibData(SceMotionDevGyroCalibData *data)
struct SceMotionDevAccCalibData SceMotionDevAccCalibData
Definition: motion_dev.h:18
int sceMotionDevGetCurrentMagnCalibData(SceMotionDevMagnCalibData *data)
int sceMotionDevGetFactoryMagnCalibData(SceMotionDevMagnCalibData *data)
int sceMotionDevSamplingStart2(int port)
struct SceMotionDevMagnCalibData SceMotionDevMagnCalibData
Definition: motion_dev.h:21
int sceMotionDevGetCurrentMagnStabilityLevel(SceUInt32 *level)
int sceMotionDevRead2(int port, SceMotionDevData *data, int data_num, SceUInt32 *info)
int sceMotionDevSetSamplingMode(SceUInt32 mode)
struct SceMotionDevModeInfo SceMotionDevModeInfo
Definition: motion_dev.h:26
int sceMotionDevGetCalibrationData(SceUInt32 block_id, SceMotionDevCalibrationData *data, SceUInt32 data_num)
struct SceMotionDevGyroBiasData SceMotionDevGyroBiasData
Definition: motion_dev.h:24
struct SceMotionDevData SceMotionDevData
Definition: motion_dev.h:27
int sceMotionDevGetCalibrationHeader(SceUInt32 block_id, SceMotionDevCalibrationHeader *calib_header)
int sceMotionDevGetAccCalibData2(int port, SceMotionDevAccCalibData *data)
struct SceMotionDevGyroCalibData SceMotionDevGyroCalibData
Definition: motion_dev.h:25
int sceMotionDevUpdateMagnCalibData(const SceMotionDevMagnCalibData *data, SceUInt32 *tag)
int sceMotionDevGetMeasMode(SceMotionDevModeInfo *mode_info)
struct SceMotionDevDeviceLocation SceMotionDevDeviceLocation
Definition: motion_dev.h:23
struct SceMotionDevCalibrationData SceMotionDevCalibrationData
Definition: motion_dev.h:19
int sceMotionDevGetGyroCalibData2(int port, SceMotionDevGyroCalibData *data)
int sceMotionDevMagnSamplingStop(void)
uint32_t SceUInt32
Definition: types.h:45