mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
Removed leading underscore in structure names
Fixes https://github.com/libsdl-org/SDL/issues/6856 Closes https://github.com/libsdl-org/SDL/pull/6914 Closes https://github.com/libsdl-org/SDL/pull/6915 Closes https://github.com/libsdl-org/SDL/pull/6916 Closes https://github.com/libsdl-org/SDL/pull/6917 Closes https://github.com/libsdl-org/SDL/pull/6918 Closes https://github.com/libsdl-org/SDL/pull/6919
This commit is contained in:
@@ -32,7 +32,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/* The SDL joystick structure */
|
||||
typedef struct _SDL_JoystickAxisInfo
|
||||
typedef struct SDL_JoystickAxisInfo
|
||||
{
|
||||
Sint16 initial_value; /* Initial axis state */
|
||||
Sint16 value; /* Current axis state */
|
||||
@@ -43,7 +43,7 @@ typedef struct _SDL_JoystickAxisInfo
|
||||
SDL_bool sending_initial_value; /* Whether we are sending the initial axis value */
|
||||
} SDL_JoystickAxisInfo;
|
||||
|
||||
typedef struct _SDL_JoystickTouchpadFingerInfo
|
||||
typedef struct SDL_JoystickTouchpadFingerInfo
|
||||
{
|
||||
Uint8 state;
|
||||
float x;
|
||||
@@ -51,13 +51,13 @@ typedef struct _SDL_JoystickTouchpadFingerInfo
|
||||
float pressure;
|
||||
} SDL_JoystickTouchpadFingerInfo;
|
||||
|
||||
typedef struct _SDL_JoystickTouchpadInfo
|
||||
typedef struct SDL_JoystickTouchpadInfo
|
||||
{
|
||||
int nfingers;
|
||||
SDL_JoystickTouchpadFingerInfo *fingers;
|
||||
} SDL_JoystickTouchpadInfo;
|
||||
|
||||
typedef struct _SDL_JoystickSensorInfo
|
||||
typedef struct SDL_JoystickSensorInfo
|
||||
{
|
||||
SDL_SensorType type;
|
||||
SDL_bool enabled;
|
||||
@@ -113,7 +113,7 @@ struct _SDL_Joystick
|
||||
SDL_bool delayed_guide_button _guarded; /* SDL_TRUE if this device has the guide button event delayed */
|
||||
SDL_JoystickPowerLevel epowerlevel _guarded; /* power level of this joystick, SDL_JOYSTICK_POWER_UNKNOWN if not supported */
|
||||
|
||||
struct _SDL_JoystickDriver *driver _guarded;
|
||||
struct SDL_JoystickDriver *driver _guarded;
|
||||
|
||||
struct joystick_hwdata *hwdata _guarded; /* Driver dependent information */
|
||||
|
||||
@@ -138,7 +138,7 @@ struct _SDL_Joystick
|
||||
/* Macro to combine a USB vendor ID and product ID into a single Uint32 value */
|
||||
#define MAKE_VIDPID(VID, PID) (((Uint32)(VID)) << 16 | (PID))
|
||||
|
||||
typedef struct _SDL_JoystickDriver
|
||||
typedef struct SDL_JoystickDriver
|
||||
{
|
||||
/* Function to scan the system for joysticks.
|
||||
* Joystick 0 should be the system default joystick.
|
||||
|
Reference in New Issue
Block a user