10#include <aegis2d/ui/export.hpp>
33 [[nodiscard]] const platform::ActionMap& actions() const noexcept;
45 [[nodiscard]]
Navigation read(const platform::Keyboard& keyboard,
46 const platform::Gamepad& gamepad, const platform::Mouse& mouse,
50 platform::ActionMap actions_;
51 platform::ActionId up_;
52 platform::ActionId down_;
53 platform::ActionId left_;
54 platform::ActionId right_;
55 platform::ActionId next_;
56 platform::ActionId previous_;
57 platform::ActionId activate_;
Named actions (move, fire...) bound to keys and gamepad buttons, so gameplay never reads raw input.
Gamepad buttons, sticks and triggers, with no SDL type.
Keyboard keys, their names, and the state of the keyboard during a frame.
Vector and matrix types of the engine (GLM behind engine names).
Mouse buttons, and the state of the mouse during a frame.
Menus and forms: widgets and their focus, moved by keyboard, gamepad and mouse (client only).
Definition console.hpp:21
glm::vec2 Vec2
2D vector of floats: positions, velocities, sizes (glm::vec2).
Definition math.hpp:19
What the player asked of the focus during a frame.
Definition widget_tree.hpp:37