|
Aegis2D
Modular C++26 2D game engine for networked games
|
Keyboard keys, their names, and the state of the keyboard during a frame. More...
#include <aegis2d/platform/export.hpp>#include <array>#include <bitset>#include <cstddef>#include <cstdint>#include <optional>#include <span>#include <string>#include <string_view>Go to the source code of this file.
Classes | |
| class | aegis2d::platform::Keyboard |
| Keys held down, and those pressed or released since the start of the frame. More... | |
Namespaces | |
| namespace | aegis2d |
| Root namespace of the engine. | |
| namespace | aegis2d::platform |
| Window and input on top of SDL3, independent of the graphics API (client only). | |
Functions | |
| std::string_view | aegis2d::platform::key_name (Key key) noexcept |
| Stable name of a key, as written in settings files. | |
| std::optional< Key > | aegis2d::platform::key_from_name (std::string_view name) |
Key whose name is name, ignoring case. | |
| std::string | aegis2d::platform::key_label (Key key) |
| Name of a key as shown to the player, such as in a controls reminder. | |
Variables | |
| constexpr std::size_t | aegis2d::platform::key_count = static_cast<std::size_t>(Key::KeypadEnter) + 1 |
| Number of keys in Key, to size per-key tables. | |
Keyboard keys, their names, and the state of the keyboard during a frame.