/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
/***********************************************************
* Artsoft Retro-Game Library *
*----------------------------------------------------------*
/* ========================================================================= */
#if defined(PLATFORM_UNIX) && !defined(TARGET_SDL)
void UnixInitJoysticks()
{
/* ========================================================================= */
#if defined(PLATFORM_UNIX) && !defined(TARGET_SDL)
void UnixInitJoysticks()
{
}
boolean UnixReadJoystick(int fd, int *x, int *y, boolean *b1, boolean *b2)
}
boolean UnixReadJoystick(int fd, int *x, int *y, boolean *b1, boolean *b2)
/* ========================================================================= */
#define TRANSLATE_JOYSYMBOL_TO_JOYNAME 0
/* ========================================================================= */
#define TRANSLATE_JOYSYMBOL_TO_JOYNAME 0
{
if (setup.input[i].joy.xleft >= setup.input[i].joy.xmiddle)
setup.input[i].joy.xleft = setup.input[i].joy.xmiddle - distance;
{
if (setup.input[i].joy.xleft >= setup.input[i].joy.xmiddle)
setup.input[i].joy.xleft = setup.input[i].joy.xmiddle - distance;