#ifndef _USBMOUSE_H
#define _USBMOUSE_H

#include <libusb-1.0/libusb.h>

#define USB_HID_MOUSE_PROTOCOL 2


struct usb_mouse_packet {
  uint8_t various_func;
  uint8_t X_displacement;
  uint8_t Y_displacement;
  uint8_t add0;
  uint8_t add1;
};


extern struct libusb_device_handle *openmouse(uint8_t *);

#endif
