Hello,
Here's an update for Arduino 1.8.8:
https://www.codeproject.com/Tips/1251867/How-to-Communicate-with-the-PC-using-HID-Protocol