SceCtrl

Ctrl processor
The control core of SceCtrl is in ctrl_intr_handler.

ctrl_intr_handler is always called at intervals of 60fps (maybe variable interval?), and internally calls syscon_ctrl_read command from sceSysconCmdExecAsync. Also calls sceKernelPowerTick(0) depending on flag A1.

Flag A1 is set inside the callback function called from sceSysconCmdExecAsync.

Unknown the details, but maybe pressing the button updates this flag.

sceCtrlRegisterVirtualControllerDriverForDriver
This is a guessed name.

On PSTV, SceDS3 module calls this function to register the DualShock3/DualShock4 USB/Bluetooth driver. Only one virtual controller driver can be registered at a time: the new driver replaces the previous one.

sceCtrlSetActiveProcessForDriver
This is a guessed name.

SceCtrlForDriver_69E45836
Clear active process. Maybe disconnect device.

sceCtrlUpdateMaskForNonShellForDriver
This is a guessed name.

sceCtrlUpdateMaskForAllForDriver
This is a guessed name.

sceCtrlGetMaskForNonShellForDriver
This is a guessed name.

sceCtrlGetMaskForAllForDriver
This is a guessed name.

sceCtrlGetCurrentProcessIdForDriver
This is a guessed name.

sceCtrlSetInhibitFlagForDriver
This is a guessed name.

sceCtrlSetInhibitFlagProcForDriver
This is a guessed name.

SceCtrlForDriver_FF9D4DD4
Register some callback and get current hold button.

Using by ScePower.

SceCtrlForDriver_4CCB2153
Clear the information set in.

_sceCtrlBdRemoconSendMergedNotifyForDriver
Notifies a callback (?driver?).

sceCtrlChangePortAssignForDriver
Name derived from SceVshBridge.

sceCtrlGetActiveControllerPortForDriver
Name derived from SceVshBridge.

sceCtrlSetIdleCancelKeyForDriver
Name derived from SceVshBridge.

sceCtrlSetIdleCancelThresholdForDriver
Name derived from SceVshBridge.

sceCtrlIsBdRemoconConnectedForDriver
Name derived from SceVshBridge.

sceCtrlSetBdRemoconConnectedForDriver
This is a guessed name.

sceCtrlRegisterNotifyCallBackForDriver
Name derived from SceVshBridge.

sceCtrlUnregisterNotifyCallBackForDriver
Name derived from SceVshBridge.

sceCtrlNotifyCallBacksForDriver
This is a guessed name.

sceCtrlSetAnalogEmulationForDriver
This is a guessed name.

sceCtrlSetButtonEmulationForDriver
This is a guessed name.

sceCtrlSetButtonInterceptForDriver
This is a guessed name.

sceCtrlGetButtonInterceptForDriver
This is a guessed name.

sceCtrlSetCtrlpCallbackForDriver
This is a guessed name.

sceCtrlSetTurnOffIntervalForDriver
Name derived from SceVshBridge.

sceCtrlSetVibrationSettingForDriver
Name derived from SceVshBridge.