#ifndef SDL_sysjoystick_c_h_
#define SDL_sysjoystick_c_h_
#include <linux/input.h>
struct SDL_joylist_item;
struct joystick_hwdata
{
int fd;
struct SDL_joylist_item *item;
SDL_JoystickGUID guid;
char *fname;
SDL_bool ff_rumble;
SDL_bool ff_sine;
struct ff_effect effect;
Uint32 effect_expiration;
struct hwdata_hat
{
int axis[2];
} *hats;
struct hwdata_ball
{
int axis[2];
} *balls;
Uint8 key_map[KEY_MAX];
Uint8 abs_map[ABS_MAX];
SDL_bool has_key[KEY_MAX];
SDL_bool has_abs[ABS_MAX];
SDL_bool classic;
Uint16 *key_pam;
Uint8 *abs_pam;
struct axis_correct
{
SDL_bool use_deadzones;
int coef[3];
int minimum;
int maximum;
float scale;
} abs_correct[ABS_MAX];
SDL_bool fresh;
SDL_bool recovering_from_dropped;
SDL_bool m_bSteamController;
int hats_indices[4];
SDL_bool has_hat[4];
struct hat_axis_correct
{
SDL_bool use_deadzones;
int minimum[2];
int maximum[2];
} hat_correct[4];
SDL_bool gone;
};
#endif