RetroArch
Classes | Typedefs | Enumerations | Functions
usbkeyboard.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  USBKeyboard_event
 

Typedefs

typedef void(* eventcallback) (USBKeyboard_event event)
 

Enumerations

enum  USBKeyboard_eventType { USBKEYBOARD_PRESSED = 0, USBKEYBOARD_RELEASED, USBKEYBOARD_DISCONNECTED }
 
enum  USBKeyboard_led { USBKEYBOARD_LEDNUM = 0, USBKEYBOARD_LEDCAPS, USBKEYBOARD_LEDSCROLL }
 

Functions

s32 USBKeyboard_Initialize (void)
 
s32 USBKeyboard_Deinitialize (void)
 
s32 USBKeyboard_Open (const eventcallback cb)
 
void USBKeyboard_Close (void)
 
bool USBKeyboard_IsConnected (void)
 
s32 USBKeyboard_Scan (void)
 
s32 USBKeyboard_SetLed (const USBKeyboard_led led, bool on)
 
s32 USBKeyboard_ToggleLed (const USBKeyboard_led led)
 

Typedef Documentation

◆ eventcallback

typedef void(* eventcallback) (USBKeyboard_event event)

Enumeration Type Documentation

◆ USBKeyboard_eventType

Enumerator
USBKEYBOARD_PRESSED 
USBKEYBOARD_RELEASED 
USBKEYBOARD_DISCONNECTED 

◆ USBKeyboard_led

Enumerator
USBKEYBOARD_LEDNUM 
USBKEYBOARD_LEDCAPS 
USBKEYBOARD_LEDSCROLL 

Function Documentation

◆ USBKeyboard_Close()

void USBKeyboard_Close ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USBKeyboard_Deinitialize()

s32 USBKeyboard_Deinitialize ( void  )
Here is the caller graph for this function:

◆ USBKeyboard_Initialize()

s32 USBKeyboard_Initialize ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USBKeyboard_IsConnected()

bool USBKeyboard_IsConnected ( void  )
Here is the caller graph for this function:

◆ USBKeyboard_Open()

s32 USBKeyboard_Open ( const eventcallback  cb)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USBKeyboard_Scan()

s32 USBKeyboard_Scan ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USBKeyboard_SetLed()

s32 USBKeyboard_SetLed ( const USBKeyboard_led  led,
bool  on 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ USBKeyboard_ToggleLed()

s32 USBKeyboard_ToggleLed ( const USBKeyboard_led  led)
Here is the call graph for this function: