Magnum::Platform::AndroidApplication::MouseMoveEvent class

Mouse move event.

Base classes

class InputEvent
Base for input events.

Public types

enum class Button: std::int32_t { Left = AMOTION_EVENT_BUTTON_PRIMARY, Middle = AMOTION_EVENT_BUTTON_TERTIARY, Right = AMOTION_EVENT_BUTTON_SECONDARY }
Mouse button.
using Buttons = Containers::EnumSet<Button>
Set of mouse buttons.

Public functions

auto position() const -> Vector2i
Position.
auto buttons() const -> Buttons
Mouse buttons.

Enum documentation

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

Mouse button.

Enumerators
Left

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

Middle

Middle mouse button or second stylus button

Right

Right mouse button or first stylus button

Typedef documentation

typedef Containers::EnumSet<Button> Magnum::Platform::AndroidApplication::MouseMoveEvent::Buttons

Set of mouse buttons.