Reading from HID Device with my Arduino UNO

Hi, everyone!

I have a specific HID device. Thanks to the soft Device Monitoring Studio, i know the data between my PC and the HID Device. Now, i want to write and read data between my Arduino and this device.

First: is it posibble to reach this challenge with my arduino uno and a Usb Host Shield? I was thinking to use the RawHID example as a guide, for exchange data, in the USBHID Library, but i can't make it compile, because i have an error in the example. So, i'm not sure if it's posibble.

Second: if not, what micro i can use for this mission?

thanks a lot.

Example code that i was trying to use as a guide

#include <USBHID.h>
#include <libmaple/usb.h>

#define TXSIZE 256
#define RXSIZE 300

HIDRaw<TXSIZE,RXSIZE> raw;
uint8 buf[RXSIZE];

const uint8_t reportDescription[] = {
   HID_RAW_REPORT_DESCRIPTOR(TXSIZE,RXSIZE)
};

void setup(){
  USBHID_begin_with_serial(reportDescription, sizeof(reportDescription));  
  raw.begin();
}

void loop() {
  if (raw.getOutput(buf)) {
    for (int i=0;i<RXSIZE;i++) buf[i]++;
    raw.send(buf+RXSIZE-min(RXSIZE,TXSIZE),min(RXSIZE,TXSIZE));
  }
}

Error message

In file included from C:\Users\Gerson\Documents\Arduino\libraries\USBHID/USBHID.h:20:0,

                 from C:\Users\Gerson\Documents\Arduino\libraries\USBHID\examples\rawhid\rawhid.ino:1:

C:\Users\Gerson\Documents\Arduino\libraries\USBHID/USBComposite.h:4:20: fatal error: boards.h: No such file or directory

 #include <boards.h>

                    ^

compilation terminated.

exit status 1
Error compilación en tarjeta Arduino/Genuino Uno.