-\r
- /* Check if the new report is different to the previous report */\r
- InputChanged = ((uint8_t)(PrevJoyStatus ^ JoyStatus_LCL) | (uint8_t)(HWB_GetStatus() ^ PrevHWBStatus));\r
-\r
- /* Save the current joystick and HWB status for later comparison */\r
- PrevJoyStatus = JoyStatus_LCL;\r
- PrevHWBStatus = HWB_GetStatus();\r
-\r
- /* Return whether the new report is different to the previous report or not */\r
- return InputChanged;\r