Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
|
| VITASDK_BUILD_ASSERT_EQ (0x18, SceHidKeyboardReport) |
|
| VITASDK_BUILD_ASSERT_EQ (0x10, SceHidMouseReport) |
|
int | sceHidKeyboardEnumerate (int *handle, int count) |
| Enumerate hid keyboards. More...
|
|
int | sceHidKeyboardRead (SceUInt32 handle, SceHidKeyboardReport *reports[], int nReports) |
| Get hid keyboard reports (blocking). More...
|
|
int | sceHidKeyboardPeek (SceUInt32 handle, SceHidKeyboardReport *reports[], int nReports) |
| Get hid keyboard reports (non-blocking). More...
|
|
int | sceHidMouseEnumerate (int *handle, int count) |
| Enumerate hid mice. More...
|
|
int | sceHidMouseRead (SceUInt32 handle, SceHidMouseReport *reports[], int nReports) |
| Get hid mouse reports. More...
|
|
◆ SceHidKeyboardReport
struct SceHidKeyboardReport |
◆ SceHidMouseReport
◆ SCE_HID_MAX_REPORT
#define SCE_HID_MAX_REPORT 16 |
◆ SCE_HID_MAX_DEVICE_COUNT
#define SCE_HID_MAX_DEVICE_COUNT 8 |
◆ VITASDK_BUILD_ASSERT_EQ() [1/2]
◆ VITASDK_BUILD_ASSERT_EQ() [2/2]
◆ sceHidKeyboardEnumerate()
int sceHidKeyboardEnumerate |
( |
int * |
handle, |
|
|
int |
count |
|
) |
| |
Enumerate hid keyboards.
- Parameters
-
[out] | handle | Buffer to receive keyboard hid handles. |
| [int] | count Number of keyboards to enumerate |
◆ sceHidKeyboardRead()
Get hid keyboard reports (blocking).
- Parameters
-
[in] | handle | Hid handle. |
[in] | reports | Buffer to receive reports. |
[in] | nReports | Number of reports to receive. |
◆ sceHidKeyboardPeek()
Get hid keyboard reports (non-blocking).
- Parameters
-
[in] | handle | Hid handle. |
[in] | reports | Buffer to receive reports. |
[in] | nReports | Number of reports to receive. |
◆ sceHidMouseEnumerate()
int sceHidMouseEnumerate |
( |
int * |
handle, |
|
|
int |
count |
|
) |
| |
Enumerate hid mice.
- Parameters
-
[out] | handle | Buffer to receive mouse hid handles. |
| [int] | count Number of mice to enumerate |
◆ sceHidMouseRead()
Get hid mouse reports.
- Parameters
-
[in] | handle | Hid handle. |
[in] | reports | Buffer to receive reports. |
[in] | nReports | Number of reports to receive. |