mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-13 13:25:59 +00:00
sensors corrections
This commit is contained in:

committed by
Sam Lantinga

parent
6d85637786
commit
6f7c7c557a
@@ -44,9 +44,10 @@ SDL_VITA_SensorInit(void)
|
||||
{
|
||||
sceMotionReset();
|
||||
sceMotionStartSampling();
|
||||
// sceMotionMagnetometerOn();
|
||||
// not sure if these are needed, we are reading unfiltered state
|
||||
sceMotionSetAngleThreshold(0);
|
||||
sceMotionSetGyroBiasCorrection(SCE_FALSE);
|
||||
sceMotionSetDeadband(SCE_FALSE);
|
||||
sceMotionSetTiltCorrection(SCE_FALSE);
|
||||
|
||||
SDL_sensors_count = 2;
|
||||
|
||||
|
Reference in New Issue
Block a user