int sceCtrlSetActuator(int port, const SceCtrlActuator *pState)
Control the actuator (vibrate) on paired controllers.
int sceCtrlPeekBufferNegative2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller state information (polling, negative logic).
int sceCtrlReadBufferPositive(int port, SceCtrlData *pad_data, int count)
Get the controller state information (blocking, positive logic).
int sceCtrlGetBatteryInfo(int port, SceUInt8 *batt)
Get controller battery information.
int sceCtrlPeekBufferPositiveExt2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller state information (polling, positive logic).
int sceCtrlPeekBufferPositive(int port, SceCtrlData *pad_data, int count)
Get the controller state information (polling, positive logic).
int sceCtrlPeekBufferPositive2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller state information (polling, positive logic).
SceCtrlPadInputMode
Controller mode.
Definition: ctrl.h:68
int sceCtrlGetButtonIntercept(int *intercept)
Gets intercept.
int sceCtrlSetSamplingMode(SceCtrlPadInputMode mode)
Set the controller mode.
int sceCtrlIsMultiControllerSupported(void)
Check if multi controller is supported.
int sceCtrlGetSamplingMode(SceCtrlPadInputMode *pMode)
Get the current controller mode.
int sceCtrlReadBufferPositive2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller state information (blocking, positive logic).
int sceCtrlSetRapidFire(int port, int idx, const SceCtrlRapidFireRule *pRule)
Set rules for button rapid fire.
int sceCtrlGetControllerPortInfo(SceCtrlPortInfo *info)
Get controller port information.
int sceCtrlReadBufferPositiveExt(int port, SceCtrlData *pad_data, int count)
Get the controller extended state information (blocking, positive logic).
int sceCtrlClearRapidFire(int port, int idx)
Clear rules for button rapid fire.
int sceCtrlReadBufferNegative2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller state information (blocking, negative logic).
int sceCtrlReadBufferNegative(int port, SceCtrlData *pad_data, int count)
Get the controller state information (blocking, negative logic).
int sceCtrlSetSamplingModeExt(SceCtrlPadInputMode mode)
Set the controller extend mode.
int sceCtrlReadBufferPositiveExt2(int port, SceCtrlData *pad_data, int count)
Get the wireless controller extended state information (blocking, positive logic).
int sceCtrlSetLightBar(int port, SceUInt8 r, SceUInt8 g, SceUInt8 b)
Control the light bar on paired controllers.
int sceCtrlSetButtonIntercept(int intercept)
Sets intercept.
int sceCtrlPeekBufferNegative(int port, SceCtrlData *pad_data, int count)
Get the controller state information (polling, negative logic).
int sceCtrlPeekBufferPositiveExt(int port, SceCtrlData *pad_data, int count)
Get the controller state information (polling, positive logic).
Structure to pass as argument to sceCtrlSetActuator.
Definition: ctrl.h:132
Returned controller data.
Definition: ctrl.h:78
Structure to pass as argument to sceCtrlGetControllerPortInfo.
Definition: ctrl.h:140
Structure to pass as argument to sceCtrlSetRapidFire.
Definition: ctrl.h:121
uint8_t SceUInt8
Definition: types.h:36