Before the library will work, you must install a compatible boards file that contains the XInput USB descriptors, otherwise the microcontroller won't behave like an XInput device. This is not optional ...
When playing retro games on a Windows PC or Playstation Classic, I use a custom-made XInput-style game controller (Xbox 360 compatible). It is convenient because it can be used without configuration ...
This repo contains two Arduino sketches for replacing an existing USB controller firmware on an Arduino Leonardo R3 / ATmega32u4 board built into an RC pistol-grip ...