6#include <glm/gtc/quaternion.hpp>
16inline constexpr uint32_t MAX_INPUT_ACTIONS = 32;
19inline constexpr uint32_t MAX_COMMAND_PAYLOAD = 16;
33 std::array<float, MAX_INPUT_ACTIONS>
axis{};
39 MAX_INPUT_ACTIONS <= 32,
40 "pressed / released carry one bit per action in a uint32_t, "
41 "so an action past bit 31 has nowhere to be recorded"
50 glm::quat
view{1.0f, 0.0f, 0.0f, 0.0f};
55 std::array<uint8_t, MAX_COMMAND_PAYLOAD>
payload{};
56 uint8_t payloadSize = 0;