Updated structure and field names for consistency
Type names are camel case and field names are snake case except for fields ending in id, which are capitalized. Fixes https://github.com/libsdl-org/SDL/issues/6955
This commit is contained in:
@@ -178,9 +178,9 @@ typedef enum
|
||||
SDL_GAMEPAD_BINDTYPE_HAT
|
||||
} SDL_GamepadBindingType;
|
||||
|
||||
typedef struct
|
||||
typedef struct SDL_GamepadBinding
|
||||
{
|
||||
SDL_GamepadBindingType inputType;
|
||||
SDL_GamepadBindingType input_type;
|
||||
union
|
||||
{
|
||||
int button;
|
||||
@@ -200,7 +200,7 @@ typedef struct
|
||||
|
||||
} input;
|
||||
|
||||
SDL_GamepadBindingType outputType;
|
||||
SDL_GamepadBindingType output_type;
|
||||
union
|
||||
{
|
||||
SDL_GamepadButton button;
|
||||
|
||||
Reference in New Issue
Block a user