summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorraysan5 <[email protected]>2019-04-28 18:23:21 +0200
committerraysan5 <[email protected]>2019-04-28 18:23:21 +0200
commit100c82e369c3b40c2aafe4c1faddd6ee7d37ba6a (patch)
tree7b580e25c811b854269af2547a5dda308bf342a6 /src/raylib.h
parentfc6186a6323029d24ae37b9838fbb509b5aa01f9 (diff)
downloadraylib-100c82e369c3b40c2aafe4c1faddd6ee7d37ba6a.tar.gz
raylib-100c82e369c3b40c2aafe4c1faddd6ee7d37ba6a.zip
Review formatting to follow raylib style
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/raylib.h b/src/raylib.h
index dfbebf90..3bd64b3b 100644
--- a/src/raylib.h
+++ b/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