Skip to content

APointerPressedEvent#

Pointing method press event.

Header:#include <AUI/Event/APointerPressedEvent.h>
CMake:aui_link(my_target PUBLIC aui::views)

Public fields and Signals#


asButton#

AInput::Key asButton

pointerIndex treated as mouse button.

= LBUTTON if finger event, pointerIndex.button() otherwise.


pointerIndex#

APointerIndex pointerIndex

Which button of the pointing device is triggered the event (AInput::LBUTTON if not present) or finger.


position#

glm::vec2 position

Where does the event occurred.