Browse Source

Example tweak

pull/192/head
raysan5 8 years ago
parent
commit
ed4fdfdaf8
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      examples/core_input_gamepad.c

+ 3
- 1
examples/core_input_gamepad.c View File

@ -66,7 +66,7 @@ int main()
DrawTexture(texXboxPad, 0, 0, DARKGRAY);
// Draw buttons: xbox home
if (IsGamepadButtonDown(GAMEPAD_PLAYER1, GAMEPAD_XBOX_BUTTON_HOME)) DrawCircle(396, 222, 13, RED);
if (IsGamepadButtonDown(GAMEPAD_PLAYER1, GAMEPAD_XBOX_BUTTON_HOME)) DrawCircle(394, 89, 19, RED);
// Draw buttons: basic
if (IsGamepadButtonDown(GAMEPAD_PLAYER1, GAMEPAD_XBOX_BUTTON_START)) DrawCircle(436, 150, 9, RED);
@ -156,6 +156,8 @@ int main()
}
else
{
DrawText("- GENERIC GAMEPAD -", 280, 180, 20, GRAY);
// TODO: Draw generic gamepad
}

Loading…
Cancel
Save