Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Touch

Add this in your code:

#include <engine/inputs/input_system.h>

Description

This class stores information of finger on a touchscreen.

Variables


NameTypeDescription
positionVector2IntActual position in pixel of the finger
startPositionVector2IntStart position in pixel of the finger
fingerIdintId of the finger