1 #ifndef RAYLIB_CPP_INCLUDE_TOUCH_HPP_
2 #define RAYLIB_CPP_INCLUDE_TOUCH_HPP_
4 #include "./raylib.hpp"
30 return ::GetTouchPosition(index);
37 return ::GetTouchPointId(index);
44 return ::GetTouchPointCount();
Input-related functions: touch.
static Vector2 GetPosition(int index)
Get touch position XY for a touch point index (relative to screen size)
static int GetPointCount()
Get number of touch points.
static int GetPointId(int index)
Get touch point identifier for given index.
static int GetY()
Get touch position Y for touch point 0 (relative to screen size)
static int GetX()
Get touch position X for touch point 0 (relative to screen size)
All raylib-cpp classes and functions appear in the raylib namespace.