51 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
59 APPLOG_TRACE(
"{}::{}", hpp::type_name_str(*
this), __func__);
67 const auto& set = ctx.get<
settings>();
70 for(
const auto& device : manager.get_all_devices())
72 analog += set.input.actions.get_analog_value(action, *device);
81 const auto& set = ctx.get<
settings>();
85 for(
const auto& device : manager.get_all_devices())
87 digital |= set.input.actions.get_digital_value(action, *device);
95 const auto& set = ctx.get<
settings>();
99 for(
const auto& device : manager.get_all_devices())
101 pressed |= set.input.actions.is_pressed(action, *device);
110 const auto& set = ctx.get<
settings>();
112 bool released =
false;
114 for(
const auto& device : manager.get_all_devices())
116 released |= set.input.actions.is_released(action, *device);
125 const auto& set = ctx.get<
settings>();
129 for(
const auto& device : manager.get_all_devices())
131 down |= set.input.actions.is_down(action, *device);
#define APPLOG_TRACE(...)
static auto context() -> rtti::context &