#include "../../SDL_internal.h"
#ifndef SDL_VIRTUALJOYSTICK_C_H
#define SDL_VIRTUALJOYSTICK_C_H
#if SDL_JOYSTICK_VIRTUAL
#include "SDL_joystick.h"
typedef struct joystick_hwdata
{
SDL_JoystickType type;
SDL_bool attached;
char *name;
SDL_JoystickGUID guid;
SDL_VirtualJoystickDesc desc;
Sint16 *axes;
Uint8 *buttons;
Uint8 *hats;
SDL_JoystickID instance_id;
SDL_Joystick *joystick;
struct joystick_hwdata *next;
} joystick_hwdata;
int SDL_JoystickAttachVirtualInner(const SDL_VirtualJoystickDesc *desc);
int SDL_JoystickDetachVirtualInner(int device_index);
int SDL_JoystickSetVirtualAxisInner(SDL_Joystick * joystick, int axis, Sint16 value);
int SDL_JoystickSetVirtualButtonInner(SDL_Joystick * joystick, int button, Uint8 value);
int SDL_JoystickSetVirtualHatInner(SDL_Joystick * joystick, int hat, Uint8 value);
#endif
#endif