diff options
| author | raysan5 <raysan5@gmail.com> | 2016-11-03 16:18:07 +0100 |
|---|---|---|
| committer | raysan5 <raysan5@gmail.com> | 2016-11-03 16:18:07 +0100 |
| commit | ed4fdfdaf8b2b37a4c62d6289bd340feb8ccf7fa (patch) | |
| tree | c3fbae845cc9fed679491e74f68bea0be5e0905b /examples | |
| parent | 3be81b01d7463a63d59dd575b7f5d7c267e3c086 (diff) | |
| download | raylib-ed4fdfdaf8b2b37a4c62d6289bd340feb8ccf7fa.tar.gz raylib-ed4fdfdaf8b2b37a4c62d6289bd340feb8ccf7fa.zip | |
Example tweak
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/core_input_gamepad.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/core_input_gamepad.c b/examples/core_input_gamepad.c index 77d11f38..f98885e3 100644 --- a/examples/core_input_gamepad.c +++ b/examples/core_input_gamepad.c @@ -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 } |
