vitasdk
Documentation of the vitasdk
hid.h File Reference
#include <vitasdk/build_utils.h>
#include <psp2/types.h>

Go to the source code of this file.

Data Structures

struct  SceHidKeyboardReport
 
struct  SceHidMouseReport
 

Macros

#define SCE_HID_MAX_REPORT   16
 
#define SCE_HID_MAX_DEVICE_COUNT   8
 

Functions

 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...