libdonut
2.3.2
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 | |
donut | |
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. More... | |
constexpr std::string_view | donut::events::getInputIdentifier (Input input) noexcept |
Get the identifier string of an Input. More... | |
constexpr std::string_view | donut::events::getInputString (Input input) noexcept |
Get a short human-readable string description of an Input. More... | |
constexpr Input | donut::events::findInput (std::string_view identifier) noexcept |
Find the Input corresponding to a given identifier. More... | |
Variables | |
constexpr std::size_t | donut::events::INPUT_COUNT |
Total number of inputs that exist in the Input enumeration. More... | |