mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Review formatting to follow raylib style
This commit is contained in:
19
src/raylib.h
19
src/raylib.h
@ -620,12 +620,12 @@ typedef enum {
|
||||
} GamepadNumber;
|
||||
|
||||
// Gamepad Buttons
|
||||
typedef enum
|
||||
{
|
||||
typedef enum {
|
||||
// This is here just for error checking
|
||||
GAMEPAD_BUTTON_UNKNOWN = 0,
|
||||
|
||||
// This is normally ABXY/Circle, Triangle, Square, Cross. No support for 6 button controllers though..
|
||||
// This is normally [A,B,X,Y]/[Circle,Triangle,Square,Cross]
|
||||
// No support for 6 button controllers though..
|
||||
GAMEPAD_BUTTON_LEFT_FACE_UP,
|
||||
GAMEPAD_BUTTON_LEFT_FACE_RIGHT,
|
||||
GAMEPAD_BUTTON_LEFT_FACE_DOWN,
|
||||
@ -644,17 +644,16 @@ typedef enum
|
||||
GAMEPAD_BUTTON_RIGHT_TRIGGER_2,
|
||||
|
||||
// These are buttons in the center of the gamepad
|
||||
GAMEPAD_BUTTON_MIDDLE_LEFT, //PS3 Select
|
||||
GAMEPAD_BUTTON_MIDDLE, //PS Button/XBOX Button
|
||||
GAMEPAD_BUTTON_MIDDLE_RIGHT, //PS3 Start
|
||||
GAMEPAD_BUTTON_MIDDLE_LEFT, //PS3 Select
|
||||
GAMEPAD_BUTTON_MIDDLE, //PS Button/XBOX Button
|
||||
GAMEPAD_BUTTON_MIDDLE_RIGHT, //PS3 Start
|
||||
|
||||
// These are the joystick press in buttons
|
||||
GAMEPAD_BUTTON_LEFT_THUMB,
|
||||
GAMEPAD_BUTTON_RIGHT_THUMB
|
||||
} GamepadButton;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
typedef enum {
|
||||
// This is here just for error checking
|
||||
GAMEPAD_AXIS_UNKNOWN = 0,
|
||||
|
||||
@ -667,8 +666,8 @@ typedef enum
|
||||
GAMEPAD_AXIS_RIGHT_Y,
|
||||
|
||||
// Pressure levels for the back triggers
|
||||
GAMEPAD_AXIS_LEFT_TRIGGER, // [1..-1] (pressure-level)
|
||||
GAMEPAD_AXIS_RIGHT_TRIGGER // [1..-1] (pressure-level)
|
||||
GAMEPAD_AXIS_LEFT_TRIGGER, // [1..-1] (pressure-level)
|
||||
GAMEPAD_AXIS_RIGHT_TRIGGER // [1..-1] (pressure-level)
|
||||
} GamepadAxis;
|
||||
|
||||
// Shader location point type
|
||||
|
||||
Reference in New Issue
Block a user