YourGameLib
|
Go to the source code of this file.
Classes | |
struct | yourgame_internal::input::InputValue |
Namespaces | |
namespace | yourgame_internal |
namespace | yourgame_internal::input |
Functions | |
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 () |
Variables | |
std::map< yourgame::input::Source, InputValue > | yourgame_internal::input::inputStates |