Corrected input bug
This commit is contained in:
parent
05fe1c22ed
commit
ba257b09f5
2 changed files with 2 additions and 2 deletions
|
@ -1052,7 +1052,7 @@ bool IsGamepadButtonUp(int gamepad, int button)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(PLATFORM_ANDROID)
|
||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB)
|
||||
// Returns touch position X
|
||||
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
|
||||
#endif
|
||||
|
||||
#if defined(PLATFORM_ANDROID)
|
||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_WEB)
|
||||
int GetTouchX(void); // Returns touch position X
|
||||
int GetTouchY(void); // Returns touch position Y
|
||||
Vector2 GetTouchPosition(void); // Returns touch position XY
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue