|
XenevaOS
|
#include "uspi/usbkeyboard.h"#include "uspi/usbhid.h"#include "uspi/usbhostcontroller.h"#include "uspi/devicenameservice.h"#include "uspi/macros.h"#include "uspi/assert.h"#include "uspios.h"
Macros | |
| #define | MSEC2HZ(msec) ((msec) * HZ / 1000) |
| #define | REPEAT_DELAY MSEC2HZ (400) |
| #define | REPEAT_RATE MSEC2HZ (80) |
Functions | |
| void | USBKeyboardDevice (TUSBKeyboardDevice *pThis, TUSBFunction *pDevice) |
| 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) |
| #define MSEC2HZ | ( | msec | ) | ((msec) * HZ / 1000) |
| #define REPEAT_DELAY MSEC2HZ (400) |
| #define REPEAT_RATE MSEC2HZ (80) |
| void _CUSBKeyboardDevice | ( | TUSBKeyboardDevice * | pThis | ) |
| void USBKeyboardDevice | ( | TUSBKeyboardDevice * | pThis, |
| TUSBFunction * | pDevice | ||
| ) |
| boolean USBKeyboardDeviceConfigure | ( | TUSBFunction * | pUSBFunction | ) |
| void USBKeyboardDeviceRegisterKeyPressedHandler | ( | TUSBKeyboardDevice * | pThis, |
| TKeyPressedHandler * | pKeyPressedHandler | ||
| ) |
| void USBKeyboardDeviceRegisterKeyStatusHandlerRaw | ( | TUSBKeyboardDevice * | pThis, |
| TKeyStatusHandlerRaw * | pKeyStatusHandlerRaw | ||
| ) |
| void USBKeyboardDeviceRegisterSelectConsoleHandler | ( | TUSBKeyboardDevice * | pThis, |
| TSelectConsoleHandler * | pSelectConsoleHandler | ||
| ) |
| void USBKeyboardDeviceRegisterShutdownHandler | ( | TUSBKeyboardDevice * | pThis, |
| TShutdownHandler * | pShutdownHandler | ||
| ) |
| void USBKeyboardDeviceSetLEDs | ( | TUSBKeyboardDevice * | pThis, |
| u8 | ucLEDMask | ||
| ) |
| void USBKeyboardDeviceUpdateLEDs | ( | TUSBKeyboardDevice * | pThis | ) |