aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarryl Dixon - Piece Digital <piecedigitalstudios@gmail.com>2019-11-24 18:13:05 -0500
committerRay <raysan5@gmail.com>2019-11-25 00:13:05 +0100
commit776304e8e8deb79edb74d145111025eb66e03906 (patch)
tree84b479891538d42970edce995fa8f6960e732c40
parentd5aab98ac9ef0d5387cecc2e5d94383843b49c53 (diff)
downloadraylib-776304e8e8deb79edb74d145111025eb66e03906.tar.gz
raylib-776304e8e8deb79edb74d145111025eb66e03906.zip
Comments (#1026)
* swapped comments, expanded comment for clarity * revert alignments * adjusted for consistency
-rw-r--r--src/raylib.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 181be1fc..d7087e87 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -624,14 +624,16 @@ typedef enum {
// This is here just for error checking
GAMEPAD_BUTTON_UNKNOWN = 0,
- // This is normally [A,B,X,Y]/[Circle,Triangle,Square,Cross]
- // No support for 6 button controllers though..
+ // This is normally a DPAD
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 normally corresponds with PlayStation and Xbox controllers
+ // XBOX: [Y,X,A,B]
+ // PS3: [Triangle,Square,Cross,Circle]
+ // No support for 6 button controllers though..
GAMEPAD_BUTTON_RIGHT_FACE_UP,
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT,
GAMEPAD_BUTTON_RIGHT_FACE_DOWN,