/***********************************************************
* Rocks'n'Diamonds -- McDuffin Strikes Back! *
*----------------------------------------------------------*
-* ©1995 Artsoft Development *
-* Holger Schemel *
-* 33604 Bielefeld *
-* Telefon: (0521) 290471 *
-* eMail: aeglos@valinor.owl.de *
-* aeglos@uni-paderborn.de *
+* (c) 1995-98 Artsoft Entertainment *
+* Holger Schemel *
+* Oststrasse 11a *
+* 33604 Bielefeld *
+* phone: ++49 +521 290471 *
+* email: aeglos@valinor.owl.de *
*----------------------------------------------------------*
* joystick.c *
***********************************************************/
if (joystick_status==JOYSTICK_OFF)
return(0);
+#ifndef MSDOS
if (read(joystick_device, &joy_ctrl, sizeof(joy_ctrl)) != sizeof(joy_ctrl))
{
fprintf(stderr,"%s: cannot read joystick settings - no joystick support\n",
result |= JOY_BUTTON_2;
return(result);
+#else
+ return(0);
+#endif
}
int JoystickButton()