27#include <utility/event/hand_button_event.hpp>
29#include "guillaume/components/button_interaction.hpp"
37 inline constexpr std::array<utility::event::HandButtonEvent::Button, 6>
39 utility::event::HandButtonEvent::Button::Y,
40 utility::event::HandButtonEvent::Button::A,
41 utility::event::HandButtonEvent::Button::B,
42 utility::event::HandButtonEvent::Button::Menu,
43 utility::event::HandButtonEvent::Button::System };
66 utility::event::HandButtonEvent::Button,
State. Every class here is plain data attached to an entity.
constexpr std::array< utility::event::HandButtonEvent::Button, 6 > HandButtons
The XR controller buttons a HandButtonInteraction tracks.
ButtonInteraction< utility::event::HandButtonEvent, utility::event::HandButtonEvent::Button, HandButtons.size(), HandButtons > HandButtonInteraction
Which XR controller buttons are held on an entity, with a press and a release handler per button.