Magnum::Platform::AndroidApplication::MouseEvent class

Mouse event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: std::int32_t { None = 0, Left = AMOTION_EVENT_BUTTON_PRIMARY, Middle = AMOTION_EVENT_BUTTON_TERTIARY, Right = AMOTION_EVENT_BUTTON_SECONDARY }
Mouse button.

Public functions

auto button() -> Button
Button.
auto position() -> Vector2i
Position.

Enum documentation

enum class Magnum::Platform::AndroidApplication::MouseEvent::Button: std::int32_t

Mouse button.

Enumerators
None

No button was pressed (touch or stylus event)

Left

Left mouse button. Note that this button is not set if only touch or stylus event occurred.

Middle

Middle mouse button or second stylus button

Right

Right mouse button or first stylus button