/* Checks for changes in the position of the board joystick, sending strings to the host upon each change.  */
void CheckJoystickMovement(void)
/* Checks for changes in the position of the board joystick, sending strings to the host upon each change.  */
void CheckJoystickMovement(void)
{
	uint8_t     JoyStatus_LCL = Joystick_GetStatus();
	char*       ReportString  = NULL;
	static bool ActionSent    = false;
	if (JoyStatus_LCL & JOY_UP)
	  ReportString = "Joystick Up\r\n";
	else if (JoyStatus_LCL & JOY_DOWN)
	  ReportString = "Joystick Down\r\n";
	else if (JoyStatus_LCL & JOY_LEFT)
	  ReportString = "Joystick Left\r\n";
	else if (JoyStatus_LCL & JOY_RIGHT)
	  ReportString = "Joystick Right\r\n";
	else if (JoyStatus_LCL & JOY_PRESS)
	  ReportString = "Joystick Pressed\r\n";
	else
	  ActionSent = false;
	if ((ReportString != NULL) && (ActionSent == false))
	{
		ActionSent = true;
		fputs(ReportString, &USBSerialStream);
	}
}