Przeglądaj źródła

Comments (#1026)

* swapped comments, expanded comment for clarity

* revert alignments

* adjusted for consistency
pull/1029/head
Darryl Dixon - Piece Digital 5 lat temu
committed by Ray
rodzic
commit
776304e8e8
1 zmienionych plików z 5 dodań i 3 usunięć
  1. +5
    -3
      src/raylib.h

+ 5
- 3
src/raylib.h Wyświetl plik

@ -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,

Ładowanie…
Anuluj
Zapisz