GLFWKeyLookup.ixx File
GLFW key code to `helios::input::types::Key` mapping. More...
Included Headers
#include <GLFW/glfw3.h>
#include <array>
#include <helios.input.types.Key>
Namespaces Index
| namespace | helios |
| namespace | ext |
|
Platform-specific extensions and backend implementations. More... | |
| namespace | glfw |
|
GLFW-specific implementations. More... | |
| namespace | input |
|
GLFW input handling. More... | |
| namespace | GLFWKeyLookup |
Description
GLFW key code to `helios::input::types::Key` mapping.
File Listing
The file content with the documentation metadata removed is:
14export namespace helios::ext::glfw::input::GLFWKeyLookup {
23 inline int from(const helios::input::types::Key key) noexcept {
28 map[helios::input::types::Key::ESC] = GLFW_KEY_ESCAPE;
29 map[helios::input::types::Key::TILDE] = GLFW_KEY_GRAVE_ACCENT;
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.