Exports for User.
More...
Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ SceUdcdDeviceState
| struct SceUdcdDeviceState |
| Data Fields |
|
int |
unk_00 |
|
|
int |
state |
|
|
int |
cable |
|
|
int |
connection |
|
|
int |
use_usb_charging |
|
|
int |
unk_14 |
|
◆ VITASDK_BUILD_ASSERT_EQ()
◆ sceUdcdGetDeviceState()
Get device state.
- Parameters
-
- Returns
- 0 on success, < 0 on error.
◆ sceUdcdGetDeviceInfo()
Get device information.
- Parameters
-
| [out] | devInfo | - Device information |
- Returns
- 0 on success, < 0 on error.
◆ sceUdcdGetDrvState()
| int sceUdcdGetDrvState |
( |
const char * |
driverName | ) |
|
Get state of a specific USB driver.
- Parameters
-
| driverName | - name of USB driver to get status from |
- Returns
- SCE_UDCD_STATUS_DRIVER_STARTED if the driver has been started, SCE_UDCD_STATUS_DRIVER_REGISTERED if it is stopped
◆ sceUdcdRegisterCallback()
| int sceUdcdRegisterCallback |
( |
SceUID |
cbid, |
|
|
int |
state |
|
) |
| |
Register callback.
- Parameters
-
| [in] | cbid | - Callback UID |
| [in] | state | - State |
- Returns
- 0 on success, < 0 on error.
◆ sceUdcdUnregisterCallback()
| int sceUdcdUnregisterCallback |
( |
SceUID |
cbid | ) |
|
Unregister callback.
- Parameters
-
- Returns
- 0 on success, < 0 on error.
◆ sceUdcdWaitState()
Wait for state.
- Parameters
-
| [in] | waitParam | - Wait parameter |
| [in] | timeout | - Timeout |
- Returns
- 0 on success, < 0 on error.
◆ unk_00
| int SceUdcdDeviceState::unk_00 |
◆ state
| int SceUdcdDeviceState::state |
◆ cable
| int SceUdcdDeviceState::cable |
◆ connection
| int SceUdcdDeviceState::connection |
◆ use_usb_charging
| int SceUdcdDeviceState::use_usb_charging |
◆ unk_14
| int SceUdcdDeviceState::unk_14 |