Arduin SimRacing pedals code problem

http://www.goblogpdx.com/blog/arduino-to-usb/

Can somebody please help me with that code part there?


COMMENT SECTION:

Joystate_t is declared in USBAPI.h — be sure to use the HID libraries I point you to in the article. The standard libraries don’t include Joystate_t.

Just wanted to post a reply in case others run into the same issue. Joystate_t is declared in USBAPI.h


Now i dont know what to do with that information.
How should i modify his code.
My english is not the best if it comes to electronics :confused: Thats why that coding stuff is so complicated for me atm imo. :slight_smile: