Update joy.c
Update joy.c

Added checking for mouse / multipad read operation to avoid timeout operation when mouse or multipad is not present.
andwn/SGDK,Stephane-D/SGDK,Stephane-D/SGDK,andwn/SGDK,andwn/SGDK,Stephane-D/SGDK