Corrected input bug

This commit is contained in:
raysan5 2015-04-22 19:12:59 +02:00
parent 05fe1c22ed
commit ba257b09f5
2 changed files with 2 additions and 2 deletions

View file

@ -1052,7 +1052,7 @@ bool IsGamepadButtonUp(int gamepad, int button)
} }
#endif #endif
#if defined(PLATFORM_ANDROID) #if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB)
// Returns touch position X // Returns touch position X
int GetTouchX(void) int GetTouchX(void)
{ {

View file

@ -446,7 +446,7 @@ bool IsGamepadButtonReleased(int gamepad, int button); // Detect if a gamepad b
bool IsGamepadButtonUp(int gamepad, int button); // Detect if a gamepad button is NOT being pressed bool IsGamepadButtonUp(int gamepad, int button); // Detect if a gamepad button is NOT being pressed
#endif #endif
#if defined(PLATFORM_ANDROID) #if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB)
int GetTouchX(void); // Returns touch position X int GetTouchX(void); // Returns touch position X
int GetTouchY(void); // Returns touch position Y int GetTouchY(void); // Returns touch position Y
Vector2 GetTouchPosition(void); // Returns touch position XY Vector2 GetTouchPosition(void); // Returns touch position XY