SceTouch

From Vita Development Wiki
Revision as of 18:53, 1 April 2023 by CreepNT (talk | contribs) (→‎sceTouchGetDeviceInfo: Add prototype and structure)
Jump to navigation Jump to search

Module

Version World Privilege
1.69-3.60 Non-secure Kernel

Libraries

Known NIDs

Version Name World Visibility NID
1.69-3.60 SceTouchForDriver Non-secure Kernel 0xA4A7DAFC
1.69-3.60 SceTouch Non-secure User 0x3E4F4A81

Types

//Touch panel port constants
#define SCE_TOUCH_PORT_FRONT 0
#define SCE_TOUCH_PORT_BACK  1

SceTouch

sceTouchEnableIdleTimerCancelSetting

Version NID
1.69 0x12EAE3A

sceTouchPeekRegion

Version NID
1.69 0x4440622

sceTouchSetRegionAttr

Version NID
1.69 0x8DD4C7C

sceTouchGetPanelInfo

Version NID
1.69 0x10A2CA25

sceTouchSetSamplingStateExt

Version NID
1.69 0x13CDFC43

sceTouchRead

Version NID
1.69 0x169A1D58

sceTouchSetSamplingState

Version NID
1.69 0x1B9C5D14

sceTouchGetSamplingState

Version NID
1.69 0x26531526

sceTouchPeekRegionExt

Version NID
1.69 0x2CF6D7E2

sceTouchClearRegion

Version NID
1.69 0x2D94EAEA

sceTouchDisableTouchForce

Version NID
1.69 0x41194411

sceTouchSetProcessPrivilege

Version NID
1.69 0x609EA489

sceTouchSetRegion

Version NID
1.69 0x6134DFBE

sceTouchReadRegion

Version NID
1.69 0x93B5635B

sceTouchReadRegionExt

Version NID
1.69 0x9F0ACAF9

sceTouchEnableTouchForceExt

Version NID
1.69 0xA3FE877B

sceTouchGetProcessInfo

Version NID
1.69 0xAB364C23

sceTouchEnableTouchForce

Version NID
1.69 0xB18370C2

sceTouchActivateRegion

Version NID
1.69 0xBD59D652

sceTouchGetDeviceInfo

Version NID
1.69-3.60 0xD7889B91

Obtain device info for a touch panel.

typedef struct SceTouchDeviceInfo { //Size is 0xC bytes
    SceUInt16 vendorID;
    SceUInt16 firmwareRev;
    SceUInt16 configRev;
    SceUInt8 hwVersion;
    SceUInt8 padding[4]; //Hardcoded set to 0.
} SceTouchDeviceInfo;

int sceTouchGetDeviceInfo(SceUInt32 panel, SceTouchDeviceInfo *pInfo);

sceTouchGetSamplingStateExt

Version NID
1.69 0xDC8671EA

sceTouchDisableTouchForceExt

Version NID
1.69 0xED25DFDC

sceTouchGetPixelDensity

Version NID
1.69 0xF0704CF3

sceTouchPeek

Version NID
1.69 0xFF082DF0

SceTouchForDriver

sceTouchSetTouchEmulationDataForDriver

Version NID
3.60 0xA32529B8

only return 0 in touch.skprx

int sceTouchSetTouchEmulationDataForDriver(void *a1, void *a2);

sceTouchUpdateInitForDriver

Version NID
0.990-3.60 0xDDCF5145
int sceTouchUpdateInitForDriver(void);

sceTouchUpdateRestartForDriver

Version NID
0.990-3.60 0x4E6C4558
int sceTouchUpdateRestartForDriver(int unk);

sceTouchActivateRegionForDriver

Version NID
3.60 0xC7F0DAA0

sceTouchDisableTouchForceForDriver

Version NID
3.60 0xCDE79889

sceTouchEnableIdleTimerCancelSettingForDriver

Version NID
3.60 0xEBF4C86A

sceTouchEnableTouchForceForDriver

Version NID
3.60 0xE41B4BF8

sceTouchGetDeviceInfoForDriver

Version NID
3.60 0xFD2E0278

sceTouchGetPanelInfoForDriver

Version NID
3.60 0x937DB4C0

sceTouchGetProcessInfoForDriver

Version NID
3.60 0x4DF3A37C

sceTouchGetSamplingStateForDriver

Version NID
3.60 0x174D0333

sceTouchPeekForDriver

Version NID
3.60 0xBAD1960B

sceTouchPeekRegionForDriver

Version NID
3.60 0x9B3F7207

sceTouchReadForDriver

Version NID
3.60 0x70C8AACE

sceTouchReadRegionForDriver

Version NID
3.60 0x9A91F624

sceTouchRegisterVirtualTouchDriverForDriver

Version NID
3.60 0x03C3AC7C

sceTouchSetCtrlpCallbackForDriver

Version NID
3.60 0x628D9324

sceTouchSetRegionForDriver

Version NID
3.60 0x7985B164

sceTouchSetRegionAttrForDriver

Version NID
3.60 0x10A998DE

sceTouchSetSamplingStateForDriver

Version NID
3.60 0x1247257A

sceTouchTouchDataApplyCurve?

Version NID
3.60 0x845E2115

Applies a mapping curve to touch data (X, Y, force).

sceTouchSetEnableFlagForDriver

Version NID
3.60 0x328E38B0

This is a guessed name.

int sceTouchSetEnableFlagForDriver(SceUInt32 port, SceBool enable);