.. index:: pair: class; EE::Window::InputFinger .. _doxid-class_e_e_1_1_window_1_1_input_finger: class EE::Window::InputFinger ============================= .. toctree:: :hidden: Overview ~~~~~~~~ A representation of the current state of a finger touching a screen. :ref:`More...` .. ref-code-block:: cpp :class: doxyrest-overview-code-block #include class InputFinger { public: // fields :ref:`Int64` :target:`id`; :ref:`Int32` :target:`x`; :ref:`Int32` :target:`y`; float :target:`pressure`; float :target:`xdelta`; float :target:`ydelta`; :ref:`Int32` :target:`last_x`; :ref:`Int32` :target:`last_y`; float :target:`lastPressure`; bool :target:`down`; bool :target:`wasDown`; // methods bool :ref:`isDown`(); bool :ref:`getWasDown`(); :ref:`Vector2i` :ref:`getPos`(); }; .. _details-class_e_e_1_1_window_1_1_input_finger: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ A representation of the current state of a finger touching a screen. Methods ------- .. index:: pair: function; isDown .. _doxid-class_e_e_1_1_window_1_1_input_finger_1a5431c0356a1b2124a9287780dae6a4c5: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool isDown() .. rubric:: Returns: If is currently pressed .. index:: pair: function; getWasDown .. _doxid-class_e_e_1_1_window_1_1_input_finger_1a222942c716d995b57dcc4a682bcb3bd8: .. ref-code-block:: cpp :class: doxyrest-title-code-block bool getWasDown() .. rubric:: Returns: If was down in the last update .. index:: pair: function; getPos .. _doxid-class_e_e_1_1_window_1_1_input_finger_1a75994fa4690d508a0b21a8b29eded43d: .. ref-code-block:: cpp :class: doxyrest-title-code-block :ref:`Vector2i` getPos() .. rubric:: Returns: The current position of the finger