YourGameLib
|
Namespaces | |
namespace | android |
namespace | desktop |
Classes | |
struct | InputValue |
Functions | |
void | setInput (yourgame::input::Source source, float value) |
set input value. used for buttons/keys if first input of source occurs, the last (previous) value is set to 0.0, resulting in positive value delta, if first input of source is "key down" | |
void | setInput2 (yourgame::input::Source source, float value) |
set input value. used for positions/axes or other "continuous" signals if first input of source occurs, the last (previous) value is set to value, resulting in zero value delta after first input. | |
void | tickInput () |
Variables | |
std::map< yourgame::input::Source, InputValue > | inputStates |
void yourgame_internal::input::setInput | ( | yourgame::input::Source | source, |
float | value | ||
) |
set input value. used for buttons/keys if first input of source occurs, the last (previous) value is set to 0.0, resulting in positive value delta, if first input of source is "key down"
void yourgame_internal::input::setInput2 | ( | yourgame::input::Source | source, |
float | value | ||
) |
set input value. used for positions/axes or other "continuous" signals if first input of source occurs, the last (previous) value is set to value, resulting in zero value delta after first input.
void yourgame_internal::input::tickInput | ( | ) |
std::map< yourgame::input::Source, InputValue > yourgame_internal::input::inputStates |