summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
diff options
context:
space:
mode:
authorRay <[email protected]>2020-01-24 19:45:51 +0100
committerRay <[email protected]>2020-01-24 19:45:51 +0100
commitf28c1ef6759c587c205cdf239a06ac8b2ccac963 (patch)
treec6349a54f1b53e5612d06c2698c85740505f4e08 /src/raylib.h
parenteee995ec3d1a84fe413693a666fb0b3f9c06c84a (diff)
downloadraylib-f28c1ef6759c587c205cdf239a06ac8b2ccac963.tar.gz
raylib-f28c1ef6759c587c205cdf239a06ac8b2ccac963.zip
ADDED: IsTouchDetected()
Diffstat (limited to 'src/raylib.h')
-rw-r--r--src/raylib.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h
index 946e71a2..2c2d7246 100644
--- a/src/raylib.h
+++ b/src/raylib.h
@@ -1013,6 +1013,7 @@ RLAPI void SetMouseScale(float scaleX, float scaleY); // Set mouse scali
RLAPI int GetMouseWheelMove(void); // Returns mouse wheel movement Y
// Input-related functions: touch
+RLAPI bool IsTouchDetected(void); // Detect if a touch has happened
RLAPI int GetTouchX(void); // Returns touch position X for touch point 0 (relative to screen size)
RLAPI int GetTouchY(void); // Returns touch position Y for touch point 0 (relative to screen size)
RLAPI Vector2 GetTouchPosition(int index); // Returns touch position XY for a touch point index (relative to screen size)