Template Struct input_action

Inheritance Relationships

Base Type

Struct Documentation

template<class T>
struct legion::application::input_action : public legion::core::events::event<T>

Public Functions

inline void set(bool v, inputmap::modifier_keys m, inputmap::method id)
inline virtual bool unique() override

Returns a value that decides whether more than one of this event type should be able to exist. If true and an event of this type already exists then the event-bus will only notify the subscribers and nothing else.

inline bool pressed() const
inline bool released() const

Public Members

float input_delta
bool value = {}
inputmap::modifier_keys mods = {}
inputmap::method identifier = {}