Simulant  21.06-50
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Member Functions | List of all members
smlt::InputManager Class Reference
Inheritance diagram for smlt::InputManager:
smlt::RefCounted< InputManager > smlt::TwoPhaseConstructed

Public Member Functions

 InputManager (InputState *controller)
 
InputAxisnew_axis (const std::string &name)
 
AxisList axises (const std::string &name) const
 
void each_axis (EachAxisCallback callback)
 
void destroy_axises (const std::string &name)
 
void destroy_axis (InputAxis *axis)
 
std::size_t axis_count (const std::string &name) const
 
float axis_value (const std::string &name) const
 
int8_t axis_value_hard (const std::string &name) const
 
void update (float dt)
 
bool axis_was_pressed (const std::string &name) const
 
bool axis_was_released (const std::string &name) const
 
- Public Member Functions inherited from smlt::TwoPhaseConstructed
virtual bool init ()
 
virtual void clean_up ()
 

Additional Inherited Members

- Public Types inherited from smlt::RefCounted< InputManager >
typedef std::shared_ptr< InputManagerptr
 
typedef std::weak_ptr< InputManagerwptr
 
- Static Public Member Functions inherited from smlt::RefCounted< InputManager >
static RefCounted< InputManager >::ptr create (Args &&... args)
 
static RefCounted< InputManager >::ptr create ()
 
- Protected Member Functions inherited from smlt::RefCounted< InputManager >
 RefCounted (Args &&...)
 

The documentation for this class was generated from the following files: