#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <errno.h>
#include <str_error.h>
#include <usb/usb.h>
#include <usb/descriptor.h>
#include <usb/debug.h>
#include <usb/classes/classes.h>
#include <usb/hid/hid.h>
#include <usbvirt/device.h>
#include "virthid.h"
#include "ifaces.h"
#include "stdreq.h"
Go to the source code of this file.
Functions | |
int | main (int argc, char *argv[]) |
Main entry point. | |
Variables | |
usbvirt_device_configuration_t | configuration |
HID configuration. | |
usbvirt_descriptors_t | descriptors |
HID standard descriptors. | |
static usbvirt_control_request_handler_t | endpoint_zero_handlers [] |
static usbvirt_device_t | hid_dev |
Keyboard device. | |
static usbvirt_device_ops_t | hid_ops |
Keyboard callbacks. | |
static usb_standard_configuration_descriptor_t | std_configuration_descriptor |
Standard configuration descriptor. | |
static usb_standard_device_descriptor_t | std_device_descriptor |
Standard device descriptor. | |
static vuhid_data_t | vuhid_data |
Definition in file main.c.