XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
usbkeyboard.h File Reference
#include "uspi/usbfunction.h"
#include "uspi/usbendpoint.h"
#include "uspi/usbrequest.h"
#include "uspi/keymap.h"
#include "uspi/types.h"
Include dependency graph for usbkeyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  TUSBKeyboardDevice
 

Macros

#define BOOT_REPORT_SIZE   8
 

Typedefs

typedef void TKeyPressedHandler(const char *pString)
 
typedef void TSelectConsoleHandler(unsigned nConsole)
 
typedef void TShutdownHandler(void)
 
typedef void TKeyStatusHandlerRaw(unsigned char ucModifiers, const unsigned char RawKeys[6])
 
typedef struct TUSBKeyboardDevice TUSBKeyboardDevice
 

Functions

void USBKeyboardDevice (TUSBKeyboardDevice *pThis, TUSBFunction *pFunction)
 
void _CUSBKeyboardDevice (TUSBKeyboardDevice *pThis)
 
boolean USBKeyboardDeviceConfigure (TUSBFunction *pUSBFunction)
 
void USBKeyboardDeviceRegisterKeyPressedHandler (TUSBKeyboardDevice *pThis, TKeyPressedHandler *pKeyPressedHandler)
 
void USBKeyboardDeviceRegisterSelectConsoleHandler (TUSBKeyboardDevice *pThis, TSelectConsoleHandler *pSelectConsoleHandler)
 
void USBKeyboardDeviceRegisterShutdownHandler (TUSBKeyboardDevice *pThis, TShutdownHandler *pShutdownHandler)
 
void USBKeyboardDeviceUpdateLEDs (TUSBKeyboardDevice *pThis)
 
void USBKeyboardDeviceRegisterKeyStatusHandlerRaw (TUSBKeyboardDevice *pThis, TKeyStatusHandlerRaw *pKeyStatusHandlerRaw)
 
void USBKeyboardDeviceSetLEDs (TUSBKeyboardDevice *pThis, u8 ucLEDMask)
 

Macro Definition Documentation

◆ BOOT_REPORT_SIZE

#define BOOT_REPORT_SIZE   8

Typedef Documentation

◆ TKeyPressedHandler

typedef void TKeyPressedHandler(const char *pString)

◆ TKeyStatusHandlerRaw

typedef void TKeyStatusHandlerRaw(unsigned char ucModifiers, const unsigned char RawKeys[6])

◆ TSelectConsoleHandler

typedef void TSelectConsoleHandler(unsigned nConsole)

◆ TShutdownHandler

typedef void TShutdownHandler(void)

◆ TUSBKeyboardDevice

Function Documentation

◆ _CUSBKeyboardDevice()

void _CUSBKeyboardDevice ( TUSBKeyboardDevice pThis)

◆ USBKeyboardDevice()

void USBKeyboardDevice ( TUSBKeyboardDevice pThis,
TUSBFunction pFunction 
)

◆ USBKeyboardDeviceConfigure()

boolean USBKeyboardDeviceConfigure ( TUSBFunction pUSBFunction)

◆ USBKeyboardDeviceRegisterKeyPressedHandler()

void USBKeyboardDeviceRegisterKeyPressedHandler ( TUSBKeyboardDevice pThis,
TKeyPressedHandler pKeyPressedHandler 
)

◆ USBKeyboardDeviceRegisterKeyStatusHandlerRaw()

void USBKeyboardDeviceRegisterKeyStatusHandlerRaw ( TUSBKeyboardDevice pThis,
TKeyStatusHandlerRaw pKeyStatusHandlerRaw 
)

◆ USBKeyboardDeviceRegisterSelectConsoleHandler()

void USBKeyboardDeviceRegisterSelectConsoleHandler ( TUSBKeyboardDevice pThis,
TSelectConsoleHandler pSelectConsoleHandler 
)

◆ USBKeyboardDeviceRegisterShutdownHandler()

void USBKeyboardDeviceRegisterShutdownHandler ( TUSBKeyboardDevice pThis,
TShutdownHandler pShutdownHandler 
)

◆ USBKeyboardDeviceSetLEDs()

void USBKeyboardDeviceSetLEDs ( TUSBKeyboardDevice pThis,
u8  ucLEDMask 
)

◆ USBKeyboardDeviceUpdateLEDs()

void USBKeyboardDeviceUpdateLEDs ( TUSBKeyboardDevice pThis)