mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
update sdl2 to release https://github.com/spurious/SDL-mirror/tree/release-2.0.14
This commit is contained in:
parent
52ecd8bb0f
commit
77fc164e96
675 changed files with 192770 additions and 60506 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -53,18 +53,30 @@ struct joystick_hwdata
|
|||
/* Support for the Linux 2.4 unified input interface */
|
||||
Uint8 key_map[KEY_MAX];
|
||||
Uint8 abs_map[ABS_MAX];
|
||||
SDL_bool has_key[KEY_MAX];
|
||||
SDL_bool has_abs[ABS_MAX];
|
||||
|
||||
struct axis_correct
|
||||
{
|
||||
int used;
|
||||
SDL_bool use_deadzones;
|
||||
|
||||
/* Deadzone coefficients */
|
||||
int coef[3];
|
||||
|
||||
/* Raw coordinate scale */
|
||||
int minimum;
|
||||
int maximum;
|
||||
float scale;
|
||||
} abs_correct[ABS_MAX];
|
||||
|
||||
int fresh;
|
||||
SDL_bool fresh;
|
||||
SDL_bool recovering_from_dropped;
|
||||
|
||||
/* Steam Controller support */
|
||||
SDL_bool m_bSteamController;
|
||||
/* 4 = (ABS_HAT3X-ABS_HAT0X)/2 (see input-event-codes.h in kernel) */
|
||||
int hats_indices[4];
|
||||
SDL_bool has_hat[4];
|
||||
|
||||
/* Set when gamepad is pending removal due to ENODEV read error */
|
||||
SDL_bool gone;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue