UGDK  0.5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ugdk::input::Manager Class Reference

#include <ugdk/input/manager.h>

Public Member Functions

 Manager ()
 
 ~Manager ()
 
bool Initialize ()
 Initializes input libraries. More...
 
void Release ()
 
const Keyboardkeyboard () const
 A virtual keyboard that represents all physical keyboards. More...
 
const Mousemouse () const
 A virtual mouse that represents all physical mice. More...
 
TextInputtext_input ()
 Handles the IME. More...
 
std::forward_list
< std::shared_ptr< Joystick > > 
CurrentJoysticks () const
 Returns a list with the current joysticks. More...
 
void Update ()
 

Friends

class InputSDLEventHandler
 

Constructor & Destructor Documentation

ugdk::input::Manager::Manager ( )
ugdk::input::Manager::~Manager ( )

Member Function Documentation

std::forward_list<std::shared_ptr<Joystick> > ugdk::input::Manager::CurrentJoysticks ( ) const
inline

Returns a list with the current joysticks.

bool ugdk::input::Manager::Initialize ( )

Initializes input libraries.

Returns
True if successful, false otherwise.
const Keyboard& ugdk::input::Manager::keyboard ( ) const
inline

A virtual keyboard that represents all physical keyboards.

const Mouse& ugdk::input::Manager::mouse ( ) const
inline

A virtual mouse that represents all physical mice.

void ugdk::input::Manager::Release ( )
TextInput& ugdk::input::Manager::text_input ( )
inline

Handles the IME.

void ugdk::input::Manager::Update ( )

Friends And Related Function Documentation

friend class InputSDLEventHandler
friend

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