Exports for User.
More...
|
| | VITASDK_BUILD_ASSERT_EQ (0x18, SceHidKeyboardReport) |
| |
| | VITASDK_BUILD_ASSERT_EQ (0x10, SceHidMouseReport) |
| |
| int | sceHidKeyboardEnumerate (int *handle, int count) |
| | Enumerate hid keyboards.
|
| |
| int | sceHidKeyboardRead (SceUInt32 handle, SceHidKeyboardReport *reports[], int nReports) |
| | Get hid keyboard reports (blocking).
|
| |
| int | sceHidKeyboardPeek (SceUInt32 handle, SceHidKeyboardReport *reports[], int nReports) |
| | Get hid keyboard reports (non-blocking).
|
| |
| int | sceHidMouseEnumerate (int *handle, int count) |
| | Enumerate hid mice.
|
| |
| int | sceHidMouseRead (SceUInt32 handle, SceHidMouseReport *reports[], int nReports) |
| | Get hid mouse reports.
|
| |
Exports for User.
Using this library in your project
Include the header file in your project:
Link the library to the executable:
◆ 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. |
◆ reserved [1/2]
◆ modifiers
| SceUInt8 SceHidKeyboardReport::modifiers[2] |
◆ keycodes
| SceUInt8 SceHidKeyboardReport::keycodes[6] |
◆ reserved2
| SceUInt8 SceHidKeyboardReport::reserved2[7] |
◆ timestamp [1/2]
◆ buttons
◆ reserved [2/2]
◆ rel_x
◆ rel_y
◆ wheel
◆ tilt
◆ timestamp [2/2]