#include <stdint.h>
#include <fibril_synch.h>
#include <usb/hid/hid.h>
#include <usb/hid/hidparser.h>
#include <ddf/driver.h>
#include <usb/dev/pipes.h>
#include <usb/dev/driver.h>
#include "kbdrepeat.h"
Go to the source code of this file.
Data Structures | |
struct | usb_kbd_t |
USB/HID keyboard device type. More... | |
Functions | |
void | usb_kbd_deinit (usb_hid_dev_t *hid_dev, void *data) |
void | usb_kbd_free (usb_kbd_t **kbd_dev) |
Properly destroys the USB/HID keyboard structure. | |
int | usb_kbd_init (usb_hid_dev_t *hid_dev, void **data) |
Initialization of the USB/HID keyboard structure. | |
int | usb_kbd_is_initialized (const usb_kbd_t *kbd_dev) |
int | usb_kbd_is_ready_to_destroy (const usb_kbd_t *kbd_dev) |
bool | usb_kbd_polling_callback (usb_hid_dev_t *hid_dev, void *data) |
void | usb_kbd_push_ev (usb_hid_dev_t *hid_dev, usb_kbd_t *kbd_dev, int type, unsigned int key) |
Processes key events. | |
int | usb_kbd_set_boot_protocol (usb_hid_dev_t *hid_dev) |
Variables | |
const char * | HID_KBD_CLASS_NAME |
const char * | HID_KBD_FUN_NAME |
usb_endpoint_description_t | usb_hid_kbd_poll_endpoint_description |
Definition in file kbddev.h.