swapped comments, expanded comment for clarity
This commit is contained in:
parent
d5aab98ac9
commit
b320b1906b
11
src/raylib.h
11
src/raylib.h
|
|
@ -620,18 +620,21 @@ typedef enum {
|
||||||
} GamepadNumber;
|
} GamepadNumber;
|
||||||
|
|
||||||
// Gamepad Buttons
|
// Gamepad Buttons
|
||||||
typedef enum {
|
typedef enum
|
||||||
|
{
|
||||||
// This is here just for error checking
|
// This is here just for error checking
|
||||||
GAMEPAD_BUTTON_UNKNOWN = 0,
|
GAMEPAD_BUTTON_UNKNOWN = 0,
|
||||||
|
|
||||||
// This is normally [A,B,X,Y]/[Circle,Triangle,Square,Cross]
|
// This is normally a DPAD
|
||||||
// No support for 6 button controllers though..
|
|
||||||
GAMEPAD_BUTTON_LEFT_FACE_UP,
|
GAMEPAD_BUTTON_LEFT_FACE_UP,
|
||||||
GAMEPAD_BUTTON_LEFT_FACE_RIGHT,
|
GAMEPAD_BUTTON_LEFT_FACE_RIGHT,
|
||||||
GAMEPAD_BUTTON_LEFT_FACE_DOWN,
|
GAMEPAD_BUTTON_LEFT_FACE_DOWN,
|
||||||
GAMEPAD_BUTTON_LEFT_FACE_LEFT,
|
GAMEPAD_BUTTON_LEFT_FACE_LEFT,
|
||||||
|
|
||||||
// This is normally a DPAD
|
// This normally corresponds with PlayStation and Xbox controllers
|
||||||
|
// XB: [Y,X,A,B]
|
||||||
|
// PS: [Triangle,Square,Cross,Circle]
|
||||||
|
// No support for 6 button controllers though..
|
||||||
GAMEPAD_BUTTON_RIGHT_FACE_UP,
|
GAMEPAD_BUTTON_RIGHT_FACE_UP,
|
||||||
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT,
|
GAMEPAD_BUTTON_RIGHT_FACE_RIGHT,
|
||||||
GAMEPAD_BUTTON_RIGHT_FACE_DOWN,
|
GAMEPAD_BUTTON_RIGHT_FACE_DOWN,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user