Corrected some bugs and warnings

This commit is contained in:
raysan5
2015-04-22 18:36:52 +02:00
parent ceb7325727
commit 7db895ab5d
6 changed files with 15 additions and 13 deletions

View File

@ -437,7 +437,7 @@ void HideCursor(void); // Hides cursor
bool IsCursorHidden(void); // Returns true if cursor is not visible
#endif
#if defined(PLATFORM_DESKTOP)
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB)
bool IsGamepadAvailable(int gamepad); // Detect if a gamepad is available
Vector2 GetGamepadMovement(int gamepad); // Return axis movement vector for a gamepad
bool IsGamepadButtonPressed(int gamepad, int button); // Detect if a gamepad button has been pressed once