34Joystick_assignment_types;
38 Joystick_assignment_types type;
56 int sensitivity, threshold;
59 int analog_direction[4];
60 bool direction[4], direction_pressed[4];
63 bool action[6], action_pressed[6];
65 Uint32 joystick_delay;
70extern int joystick_repeat_delay;
72extern bool ignore_joystick;
76int joystick_axis_reduce(
int j,
int value);
77bool joystick_analog_angle(
int j,
float *angle);
79void poll_joystick(
int j);
80void poll_joysticks(
void);
82void push_key(SDL_Scancode key);
83void push_joysticks_as_keyboard(
void);
85void init_joysticks(
void);
86void deinit_joysticks(
void);
88void reset_joystick_assignments(
int j);
89bool load_joystick_assignments(
Config* config,
int j);
90bool save_joystick_assignments(
Config* config,
int j);
92void joystick_assignments_to_string(
char *buffer,
size_t buffer_len,
const Joystick_assignment *assignments);
A configuration consisting of sections.
Definition config_file.h:182