Go to the source code of this file.
◆ sceCtrlGetButtonMask
◆ sceCtrlRegisterButtonCallback
◆ sceCtrlSetButtonMasks
◆ sceCtrl_driver_5C56C779()
Setup a controller callback.
- Parameters
-
no | - The number of the callback (0-3) |
mask | - The bits to check for |
cb | - The callback function (int curr_but, int last_but, void *arg) |
arg | - User defined argument passed |
- Returns
- 0 on success, < 0 on error
◆ sceCtrl_driver_5E77BC8A()
Get button mask mode.
- Parameters
-
mask | - The bitmask to check |
- Returns
- 0 no setting, 1 set in button mask, 2 set in button set
◆ sceCtrl_driver_7CA723DC()
Set the controller button masks.
- Parameters
-
mask | - The bits to setup |
type | - The type of operation (0 clear, 1 set mask, 2 set button) |
- Example:
void sceCtrl_driver_7CA723DC(unsigned int mask, unsigned type)
Set the controller button masks.