Magnum::Platform::AbstractXApplication::KeyEvent class

Key event.

Base classes

class InputEvent
Base for input events.

Public types

using Key = AbstractXApplication::Key deprecated in Git master
Key.

Public functions

auto key() const -> AbstractXApplication::Key
Key.
auto position() const -> Vector2i
Position.
auto pointers() const -> Pointers new in Git master
Pointer types pressed in this event.

Typedef documentation

typedef AbstractXApplication::Key Magnum::Platform::AbstractXApplication::KeyEvent::Key

Key.

Function documentation

Pointers Magnum::Platform::AbstractXApplication::KeyEvent::pointers() const new in Git master

Pointer types pressed in this event.

Returns an empty set if no pointers are pressed in addition to the key.