diff options
| author | raysan5 <[email protected]> | 2015-04-22 18:36:52 +0200 |
|---|---|---|
| committer | raysan5 <[email protected]> | 2015-04-22 18:36:52 +0200 |
| commit | 7db895ab5d415d931e0319061d437c952a6155b2 (patch) | |
| tree | 2a869121e96cc4059fe979c5421893330003a026 /src/raylib.h | |
| parent | ceb73257272e34a739b6225e1f30e4e377fdab77 (diff) | |
| download | raylib-7db895ab5d415d931e0319061d437c952a6155b2.tar.gz raylib-7db895ab5d415d931e0319061d437c952a6155b2.zip | |
Corrected some bugs and warnings
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/raylib.h b/src/raylib.h index 962376a9..ad1df97a 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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 |
