SceMotionDev: Difference between revisions

From Vita Development Wiki
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Module ==
== Module ==


=== Known NIDs ===
{| class="wikitable"
{| class="wikitable"
|-
|-
! Version !! Name !! World !! Privilege !! NID
! Version !! World !! Privilege
|-
|-
| 1.69 || SceMotionDev || Non-secure || Kernel || 0x49268560
| 1.69-3.60 || Non-secure || Kernel
|-
| 3.60 || SceMotionDev || Non-secure || Kernel || 0x466A97BD
|-
| 3.65 || SceMotionDevDummy || Non-secure || Kernel || 0x30485021
|}
|}



Revision as of 02:55, 30 September 2020

Module

Version World Privilege
1.69-3.60 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.69-3.60 SceMotionDev Non-secure User 0x1F766AC7
1.69-3.60 SceMotionDevForDriver Non-secure Kernel 0xA501409A

SceMotionDev

sceMotionDevGetAccCalibData2

Version NID
3.60 0xD582B628

sceMotionDevGetAccCalibData

Version NID
1.69-3.60 0xAF014866

sceMotionDevGetCalibrationData

Version NID
1.69-3.60 0x716C685B

sceMotionDevGetCalibrationHeader

Version NID
1.69-3.60 0xBDEC1E32

sceMotionDevGetControllerType

Version NID
3.60 0xA2CD11F6

sceMotionDevGetCurrentMagnCalibData

Version NID
1.69-3.60 0xAAB4B41F

sceMotionDevGetCurrentMagnStabilityLevel

Version NID
1.69-3.60 0x067F06D9

sceMotionDevGetDeviceInfo

Version NID
1.69-3.60 0x1F1EFEFB

sceMotionDevGetDeviceLocation

Version NID
1.69-3.60 0x5EDEA879

sceMotionDevGetDs3CalibData

Version NID
3.60 0x1FD76B5E

sceMotionDevGetEvaInfo

Version NID
3.60 0xE6955280

sceMotionDevGetFactoryMagnCalibData

Version NID
1.69-3.60 0x777D57D2

sceMotionDevGetGyroBias2

Version NID
3.60 0x12B9F05E

sceMotionDevGetGyroBias

Version NID
1.69-3.60 0x6D033072

sceMotionDevGetGyroCalibData2

Version NID
3.60 0x160E8DE9

sceMotionDevGetGyroCalibData

Version NID
1.69-3.60 0x74555D91

sceMotionDevGetMeasMode

Version NID
3.60 0xEA95D3C9

sceMotionDevIsReady

Version NID
1.69-3.60 0xE8A3E48E

sceMotionDevMagnSamplingStart

Version NID
1.69-3.60 0x16DD5913

sceMotionDevMagnSamplingStop

Version NID
1.69-3.60 0xE72A35B8

sceMotionDevRead2

Version NID
3.60 0xFB87948E

sceMotionDevRead3

Version NID
3.60 0x27954BC7

sceMotionDevReadForMagnCalib

Version NID
1.69-3.60 0xCC4FDA6A

sceMotionDevRead

Version NID
1.69-3.60 0xC0095F0F

sceMotionDevSamplingStart2

Version NID
3.60 0xB51E02E8

sceMotionDevSamplingStart

Version NID
1.69-3.60 0x47948D9C

sceMotionDevSamplingStop2

Version NID
3.60 0x9E868205

sceMotionDevSamplingStop

Version NID
1.69-3.60 0x56C1551E

sceMotionDevSetGyroFeedBack

Version NID
3.60 0xCCAEBF59

sceMotionDevSetSamplingMode

Version NID
1.69-3.60 0x3EAA8A4F

sceMotionDevUpdateMagnCalibData

Version NID
1.69-3.60 0x787384FA

sceMotionDevUpdateMagnStabilityLevel

Version NID
1.69-3.60 0xEC94F683

SceMotionDevForDriver

sceMotionDevGetCalibrationDataForDriver

Version NID
3.60 0xF0251700

sceMotionDevGetCalibrationHeaderForDriver

Version NID
3.60 0x3B23DF55

sceMotionDevGetDeviceInfoForDriver

Version NID
0.931-3.60 0x3E4BCBC0
typedef struct SceKernelDeviceInfo {
  uint16_t fwver;
  uint8_t unk;
  uint8_t hwinfo;
} SceKernelDeviceInfo;

int sceMotionDevGetDeviceInfoForDriver(SceKernelDeviceInfo *pInfo);

sceMotionDevGetEvaInfoForDriver

Version NID
3.60 0x5B53AC26

sceMotionDevIsReadyForDriver

Version NID
3.60 0x10AAC8EA

sceMotionDevNoiseFilterIsAvailableForDriver

Version NID
3.60 0x11A17A96

sceMotionDevReadForDriver

Version NID
3.60 0x3A3407B5

sceMotionDevRegisterVirtualMotionDriverForDriver

Version NID
3.60 0x7FD06731

sceMotionDevSamplingStartForDriver

Version NID
3.60 0xC02C85AB

sceMotionDevSamplingStopForDriver

Version NID
3.60 0xFD0B0785

sceMotionDevSetSamplingModeForDriver

Version NID
3.60 0xDBAF611A

SceMotionDevForDriver_unk_031AF7A1

Version NID
3.60 0x031AF7A1

SceMotionDevForDriver_unk_0808D77D

Version NID
3.60 0x0808D77D

sceMotionDevUpdateSendCommandForDriver

Version NID
0.931-3.60 0x09918DAE
typedef struct somestruct_0x3C { // Size is 0x3C on FW 0.931
  uint32_t unk0; // ex: 0x80, 0x81, 0x82, 0x83, 0x84
  uin32_t unk4; // ex: 2, 0x12, 0x26
  uint32_t dataVersion;
  uint32_t dataSize;
  uint32_t address;
  uint32_t check_sum;
  uint32_t dataSize;
  uint32_t hwInfo;
  uint32_t dataType;
  char unk[0x3C];
} somestruct_0x3C;

typedef struct somestruct_0x40 { // Size is 0x40 on FW 0.931
  SceUInt32 packetID;
  SceUInt32 status;
  char unk[0x38];
} somestruct_0x40;

int sceMotionDevUpdateSendCommandForDriver(void *callback, somestruct_0x3C unk, somestruct_0x40 unk2, SceUID *evfId);

sceMotionDevSetActiveProcessForDriver

Version NID
0.990-3.60 0x22CD6DCA
int sceMotionDevSetActiveProcessForDriver(SceUID pid);

SceMotionDevForDriver_unk_3CD0CE14

Version NID
3.60 0x3CD0CE14

SceMotionDevForDriver_unk_77BA3A04

Version NID
3.60 0x77BA3A04

SceMotionDevForDriver_unk_85E3C678

Version NID
3.60 0x85E3C678

sceMotionDevUpdateRestartForDriver

Version NID
0.931-3.60 0xA75976EE
int sceMotionDevUpdateRestartForDriver(void);

SceMotionDevForDriver_unk_D7DA3DA7

Version NID
3.60 0xD7DA3DA7

SceMotionDevForDriver_unk_DB89D1BF

Version NID
3.60 0xDB89D1BF

sceMotionDevUpdateInitForDriver

Version NID
0.931-3.60 0xFD1C528D
int sceMotionDevUpdateInitForDriver(void);

SceMotionDevForDriver_unk_FE6ECA41

Version NID
3.60 0xFE6ECA41