supertux
Public Member Functions | Public Attributes | Friends | List of all members
InputManager Class Referencefinal
Inheritance diagram for InputManager:
Currenton< InputManager >

Public Member Functions

 InputManager (KeyboardConfig &keyboard_config, JoystickConfig &joystick_config)
 
void process_event (const SDL_Event &event)
 
void update ()
 
void reset ()
 
void use_game_controller (bool v)
 
bool use_game_controller () const
 
const Controllerget_controller () const
 
Controllerget_controller ()
 

Public Attributes

bool & m_use_game_controller
 
std::unique_ptr< KeyboardManagerkeyboard_manager
 
std::unique_ptr< JoystickManagerjoystick_manager
 
std::unique_ptr< GameControllerManagergame_controller_manager
 

Friends

class KeyboardMenu
 
class JoystickMenu
 

Additional Inherited Members

- Static Public Member Functions inherited from Currenton< InputManager >
static InputManagercurrent ()
 

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