YourGameLib
Loading...
Searching...
No Matches
Classes | Namespaces | Functions | Variables
input.h File Reference
#include <map>
#include "yourgame/input.h"
Include dependency graph for input.h:
This graph shows which files directly or indirectly include this file:

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, InputValueyourgame_internal::input::inputStates