PSP2SDK  dirty-f9e4f2d
The free SDK for PSP2
Data Structures | Typedefs | Functions
include/psp2/motion.h File Reference

Header file which defines motion variables and functions. More...

#include <psp2/types.h>
#include <stdint.h>
Include dependency graph for motion.h:

Go to the source code of this file.

Data Structures

struct  SceMotionState
struct  SceMotionSensorState

Typedefs

typedef struct SceMotionState SceMotionState
typedef struct SceMotionSensorState SceMotionSensorState

Functions

int sceMotionGetState (SceMotionState *motionState)
int sceMotionGetSensorState (SceMotionSensorState *sensorState, int numRecords)
int sceMotionGetBasicOrientation (SceFVector3 *basicOrientation)
int sceMotionRotateYaw (float radians)
int sceMotionGetTiltCorrection (void)
int sceMotionSetTiltCorrection (int setValue)
int sceMotionGetDeadband (void)
int sceMotionSetDeadband (int setValue)
int sceMotionSetAngleThreshold (float angle)
float sceMotionGetAngleThreshold (void)
int sceMotionReset (void)
int sceMotionMagnetometerOn (void)
int sceMotionMagnetometerOff (void)
int sceMotionGetMagnetometerState (void)
int sceMotionStartSampling (void)
int sceMotionStopSampling (void)

Detailed Description

Header file which defines motion variables and functions.

Copyright (C) 2015 PSP2SDK Project

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines