/* Update the Joystick state via input report to host  */
unsigned char HIDDJoystickDriver_ChangeJoystickState(const HIDDJoystickInputReport *report)
/* Update the Joystick state via input report to host  */
unsigned char HIDDJoystickDriver_ChangeJoystickState(const HIDDJoystickInputReport *report)
{
    memcpy(&(hiddJoystickDriver.inputReport), report, sizeof(HIDDJoystickInputReport));
    return USBD_Write(HIDDJoystickDriverDescriptors_INTERRUPTIN,
                      &(hiddJoystickDriver.inputReport),
                      sizeof(HIDDJoystickInputReport),
                      0,
                      0);
}