mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-25 04:28:30 +00:00
Corrected input bug
This commit is contained in:
@@ -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)
|
||||||
{
|
{
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user