|
libdonut 2.3.6
Application framework for cross-platform game development in C++20
|
#include <cstddef>#include <cstdint>#include <string_view>Go to the source code of this file.
Namespaces | |
| namespace | donut |
| namespace | donut::events |
Enumerations | |
| enum class | donut::events::Input : std::uint8_t { } |
| Unique identifier for a specific control on a physical input device, such as a certain keyboard key, mouse button or joystick axis. More... | |
Functions | |
| constexpr std::size_t | donut::events::getInputIndex (Input input) noexcept |
| Get the 0-based index of an Input. | |
| constexpr std::string_view | donut::events::getInputIdentifier (Input input) noexcept |
| Get the identifier string of an Input. | |
| constexpr std::string_view | donut::events::getInputString (Input input) noexcept |
| Get a short human-readable string description of an Input. | |
| constexpr Input | donut::events::findInput (std::string_view identifier) noexcept |
| Find the Input corresponding to a given identifier. | |
Variables | |
| constexpr std::size_t | donut::events::INPUT_COUNT |
| Total number of inputs that exist in the Input enumeration. | |