diff options
| author | Reece Mackie <[email protected]> | 2019-04-28 15:59:39 +0100 |
|---|---|---|
| committer | Reece Mackie <[email protected]> | 2019-04-28 15:59:39 +0100 |
| commit | 7ca856f9b76e7e9eac49120d145f89c2fc639c38 (patch) | |
| tree | 488721521734e698b2a24a25042051579a57c962 /src/raylib.h | |
| parent | f8c6226826b03a4b624e5b2cc96d488e3975894f (diff) | |
| download | raylib-7ca856f9b76e7e9eac49120d145f89c2fc639c38.tar.gz raylib-7ca856f9b76e7e9eac49120d145f89c2fc639c38.zip | |
Formatting changes
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/raylib.h b/src/raylib.h index cf8543a2..3fb4ee6d 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -622,50 +622,51 @@ typedef enum { // Gamepad Buttons typedef enum { - //This is here just for error checking + // 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 ABXY/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, GAMEPAD_BUTTON_LEFT_FACE_LEFT, - //This is normally a DPAD + // This is normally a DPAD GAMEPAD_BUTTON_RIGHT_FACE_UP, GAMEPAD_BUTTON_RIGHT_FACE_RIGHT, GAMEPAD_BUTTON_RIGHT_FACE_DOWN, GAMEPAD_BUTTON_RIGHT_FACE_LEFT, - //Triggers + // Triggers GAMEPAD_BUTTON_LEFT_TRIGGER_1, GAMEPAD_BUTTON_LEFT_TRIGGER_2, GAMEPAD_BUTTON_RIGHT_TRIGGER_1, GAMEPAD_BUTTON_RIGHT_TRIGGER_2, - //These are buttons in the center of the gamepad + // 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 - //These are the joystick press in buttons + // These are the joystick press in buttons GAMEPAD_BUTTON_LEFT_THUMB, GAMEPAD_BUTTON_RIGHT_THUMB } GamepadButton; typedef enum { + // This is here just for error checking GAMEPAD_AXIS_UNKNOWN = 0, - //Left stick + // Left stick GAMEPAD_AXIS_LEFT_X, GAMEPAD_AXIS_LEFT_Y, - //Right stick + // Right stick GAMEPAD_AXIS_RIGHT_X, GAMEPAD_AXIS_RIGHT_Y, - //Pressure levels + // Pressure levels for the back triggers GAMEPAD_AXIS_LEFT_TRIGGER, // [1..-1] (pressure-level) GAMEPAD_AXIS_RIGHT_TRIGGER // [1..-1] (pressure-level) } GamepadAxis; |
