Apparently some bits of the BSD joystick code are x86 only...joystick.h
only exists at /usr/sys/arch/i386/include/joystick.h, for example. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%401188
This commit is contained in:
parent
e65ddc53f0
commit
e94a4e9464
1 changed files with 2 additions and 2 deletions
|
@ -60,7 +60,7 @@ static char rcsid =
|
|||
#include <sys/joystick.h>
|
||||
#endif
|
||||
|
||||
#if defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#if defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
|
||||
#include <machine/joystick.h>
|
||||
#endif
|
||||
|
||||
|
@ -370,7 +370,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick *joy)
|
|||
int nbutton, naxe = -1;
|
||||
Sint32 v;
|
||||
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
#if defined(__FreeBSD__) || defined(__NetBSD__) || (defined(__OpenBSD__) && defined(__i386__))
|
||||
struct joystick gameport;
|
||||
static int x, y, xmin = 0xffff, ymin = 0xffff, xmax = 0, ymax = 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue