#include <usb/dev/driver.h>
#include <usb/dev/pipes.h>
#include <time.h>
Go to the source code of this file.
Data Structures | |
struct | usb_mouse_t |
Container for USB mouse device. More... | |
Defines | |
#define | NAME "usbmouse" |
#define | POLL_PIPE(dev) ((dev)->pipes[0].pipe) |
Functions | |
int | usb_mouse_create (usb_device_t *dev) |
Create USB mouse device. | |
bool | usb_mouse_polling_callback (usb_device_t *dev, uint8_t *buffer, size_t buffer_size, void *arg) |
Mouse polling callback. | |
void | usb_mouse_polling_ended_callback (usb_device_t *dev, bool recurring_errors, void *arg) |
Callback when polling is terminated. | |
Variables | |
usb_endpoint_description_t | poll_endpoint_description |
Mouse polling endpoint description for boot protocol subclass. |
Definition in file mouse.h.