25 #ifndef SFML_TOUCH_HPP
26 #define SFML_TOUCH_HPP
31 #include <SFML/Window/Export.hpp>
32 #include <SFML/System/Vector2.hpp>
55 static bool isDown(
unsigned int finger);
Give access to the real-time state of the touches.
static bool isDown(unsigned int finger)
Check if a touch event is currently down.
static Vector2i getPosition(unsigned int finger, const Window &relativeTo)
Get the current position of a touch in window coordinates.
static Vector2i getPosition(unsigned int finger)
Get the current position of a touch in desktop coordinates.
Utility template class for manipulating 2-dimensional vectors.
Window that serves as a target for OpenGL rendering.