#include <usb/debug.h>
#include <usb/classes/classes.h>
#include <errno.h>
#include <str_error.h>
#include <bool.h>
#include <usbhid_iface.h>
#include "hiddev.h"
#include "usbhid.h"
Go to the source code of this file.
Functions | |
static int | usb_generic_get_report_descriptor (ddf_fun_t *fun, uint8_t *desc, size_t size, size_t *actual_size) |
static size_t | usb_generic_get_report_descriptor_length (ddf_fun_t *fun) |
static int | usb_generic_hid_client_connected (ddf_fun_t *fun) |
static int | usb_generic_hid_create_function (usb_hid_dev_t *hid_dev) |
static int | usb_generic_hid_get_event (ddf_fun_t *fun, uint8_t *buffer, size_t size, size_t *act_size, int *event_nr, unsigned int flags) |
static size_t | usb_generic_hid_get_event_length (ddf_fun_t *fun) |
int | usb_generic_hid_init (usb_hid_dev_t *hid_dev, void **data) |
bool | usb_generic_hid_polling_callback (usb_hid_dev_t *hid_dev, void *data) |
Variables | |
const char * | HID_GENERIC_CLASS_NAME = "hid" |
const char * | HID_GENERIC_FUN_NAME = "hid" |
static ddf_dev_ops_t | usb_generic_hid_ops |
static usbhid_iface_t | usb_generic_iface |
usb_endpoint_description_t | usb_hid_generic_poll_endpoint_description |
Definition in file hiddev.c.