Orxonox  0.0.5 Codename: Arcturus
Classes | Namespaces | Typedefs | Enumerations | Functions
InputHandler.h File Reference
#include "InputPrereqs.h"

Go to the source code of this file.

Classes

struct  orxonox::ButtonEvent::EnumToType< Event >
 Enables function overloading with integer values. More...
 
class  orxonox::InputHandler
 Base class for all input handlers like KeyBinder, InputBuffer, etc. More...
 
class  orxonox::IntVector2
 A Vector class containing two integers x and y. More...
 
class  orxonox::KeyEvent
 Event argument for key events. More...
 

Namespaces

 orxonox
 Die Wagnis Klasse hat die folgenden Aufgaben:
 
 orxonox::ButtonEvent
 
 orxonox::KeyboardModifier
 

Typedefs

typedef EnumToType< Hold > orxonox::ButtonEvent::THold
 
typedef EnumToType< Press > orxonox::ButtonEvent::TPress
 
typedef EnumToType< Release > orxonox::ButtonEvent::TRelease
 

Enumerations

enum  orxonox::KeyboardModifier::Enum { orxonox::KeyboardModifier::Shift = 0x0000001, orxonox::KeyboardModifier::Ctrl = 0x0000010, orxonox::KeyboardModifier::Alt = 0x0000100 }
 Keyboard modifiers (shift, ctrl and alt) More...
 
enum  orxonox::ButtonEvent::Value { orxonox::ButtonEvent::Press, orxonox::ButtonEvent::Release, orxonox::ButtonEvent::Hold }
 Helper enum to deploy events with the help of templates. More...
 

Functions

template<>
void orxonox::InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::TPress)
 
template<>
void orxonox::InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::TRelease)
 
template<>
void orxonox::InputHandler::buttonEvent< JoyStickButtonCode::ByEnum > (unsigned int device, JoyStickButtonCode::ByEnum button, ButtonEvent::THold)