Skip to content

MousePressEvent

#include <Event.hpp>

A mouse button press event.

ReturnNameDescription
intx
intyCursor position (0-based, relative to terminal)
MouseButtonbuttonWhich button was pressed.

int x

int y

Cursor position (0-based, relative to terminal)


MouseButton button

Which button was pressed.