class
KeyEventKey event.
Base classes
- class InputEvent
- Base for input events.
Public types
-
using Key = EmscriptenApplication::
Key deprecated in Git master - Key.
Public functions
-
auto key() const -> EmscriptenApplication::
Key - Key.
-
auto keyName() const -> Containers::
StringView - Key name.
-
auto scanCodeName() const -> Containers::
StringView new in Git master - Scancode name.
-
auto modifiers() const -> EmscriptenApplication::
Modifiers - Keyboard modifiers.
- auto event() const -> const EmscriptenKeyboardEvent&
- Underlying Emscripten event.
Typedef documentation
typedef EmscriptenApplication:: Key Magnum:: Platform:: EmscriptenApplication:: KeyEvent:: Key
Key.
Function documentation
EmscriptenApplication:: Key Magnum:: Platform:: EmscriptenApplication:: KeyEvent:: key() const
Key.
Layout-dependent name of given key. Mapped from EmscriptenKeyboardEvent::
Containers:: StringView Magnum:: Platform:: EmscriptenApplication:: KeyEvent:: keyName() const
Key name.
Layout-dependent name of given key. Returns EmscriptenkeyboardEvent::
Containers:: StringView Magnum:: Platform:: EmscriptenApplication:: KeyEvent:: scanCodeName() const new in Git master
Scancode name.
Platform-specific but layout-independent identifier of given key. Returns EmscriptenKeyboardEvent::