raylib-cpp
C++ object-oriented wrapper library for raylib.
Functions
raylib::Touch Namespace Reference

Input-related functions: touch. More...

Functions

RLCPPAPI int GetPointCount ()
 Get number of touch points.
 
RLCPPAPI int GetPointId (int index)
 Get touch point identifier for given index.
 
RLCPPAPI Vector2 GetPosition (int index)
 Get touch position XY for a touch point index (relative to screen size)
 
RLCPPAPI int GetX ()
 Get touch position X for touch point 0 (relative to screen size)
 
RLCPPAPI int GetY ()
 Get touch position Y for touch point 0 (relative to screen size)
 

Detailed Description

Input-related functions: touch.