| Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <InputDriver.h>
Public Member Functions | |
| virtual InputDevice * | createInputDevice (InputType type, bool buffered)=0 |
| Return an input device. | |
| Cursor * | getCursor () |
| const core::position2d & | getCursorCenter () const |
| virtual void | initialize ()=0 |
| InputDriver () | |
| Default Constructor. | |
| virtual s32 | numJoySticks ()=0 |
| Returns the number of joysticks found. | |
| virtual s32 | numKeyboards ()=0 |
| Returns the number of keyboards found. | |
| virtual s32 | numMice ()=0 |
| Returns the number of mice found. | |
| virtual void | removeInputDevice (InputDevice *device)=0 |
| virtual void | update (f32 elapsedTime)=0 |
| virtual | ~InputDriver () |
| Destructor. | |
Protected Attributes | |
| Cursor * | mCursor |
| core::position2d | mCursorCenter |
Defines the functionality of a input API Author: Kat'Oun version: 1.0
| input::InputDriver::InputDriver | ( | ) |
Default Constructor.
References mCursor, mCursorCenter, core::position2d::X, and core::position2d::Y.
| input::InputDriver::~InputDriver | ( | ) | [virtual] |
Destructor.
| virtual InputDevice* input::InputDriver::createInputDevice | ( | InputType | type, |
| bool | buffered | ||
| ) | [pure virtual] |
Return an input device.
Referenced by input::InputManager::createInputDevice().
| Cursor * input::InputDriver::getCursor | ( | ) |
References mCursor.
Referenced by input::InputManager::setInputDriver().
| const core::position2d & input::InputDriver::getCursorCenter | ( | ) | const |
References mCursorCenter.
Referenced by input::InputManager::initializeImpl().
| virtual void input::InputDriver::initialize | ( | ) | [pure virtual] |
Referenced by input::InputManager::initializeImpl().
| virtual s32 input::InputDriver::numJoySticks | ( | ) | [pure virtual] |
Returns the number of joysticks found.
Referenced by input::InputManager::numJoySticks().
| virtual s32 input::InputDriver::numKeyboards | ( | ) | [pure virtual] |
Returns the number of keyboards found.
Referenced by input::InputManager::numKeyboards().
| virtual s32 input::InputDriver::numMice | ( | ) | [pure virtual] |
Returns the number of mice found.
Referenced by input::InputManager::numMice().
| virtual void input::InputDriver::removeInputDevice | ( | InputDevice * | device | ) | [pure virtual] |
Referenced by input::InputManager::removeAllInputDevices(), and input::InputManager::removeInputDevice().
| virtual void input::InputDriver::update | ( | f32 | elapsedTime | ) | [pure virtual] |
Referenced by input::InputManager::updateImpl().
Cursor* input::InputDriver::mCursor [protected] |
Referenced by getCursor(), and InputDriver().
core::position2d input::InputDriver::mCursorCenter [protected] |
Referenced by getCursorCenter(), and InputDriver().
|
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:07 by
Doxygen
(1.7.4)
|