Interface for input manager (implemented in MWInput)
More...
#include <inputmanager.hpp>
Interface for input manager (implemented in MWInput)
MWBase::InputManager::InputManager |
( |
| ) |
|
|
inline |
virtual MWBase::InputManager::~InputManager |
( |
| ) |
|
|
inlinevirtual |
virtual void MWBase::InputManager::changeInputMode |
( |
bool |
guiMode | ) |
|
|
pure virtual |
virtual void MWBase::InputManager::clear |
( |
| ) |
|
|
pure virtual |
virtual int MWBase::InputManager::countSavedGameRecords |
( |
| ) |
const |
|
pure virtual |
virtual void MWBase::InputManager::enableDetectingBindingMode |
( |
int |
action, |
|
|
bool |
keyboard |
|
) |
| |
|
pure virtual |
If keyboard is true, only pay attention to keyboard events. If false, only pay attention to controller events (excluding esc)
Implemented in MWInput::InputManager.
virtual std::string MWBase::InputManager::getActionControllerBindingName |
( |
int |
action | ) |
|
|
pure virtual |
virtual std::vector<int> MWBase::InputManager::getActionControllerSorting |
( |
| ) |
|
|
pure virtual |
virtual std::string MWBase::InputManager::getActionDescription |
( |
int |
action | ) |
|
|
pure virtual |
virtual std::string MWBase::InputManager::getActionKeyBindingName |
( |
int |
action | ) |
|
|
pure virtual |
virtual std::vector<int> MWBase::InputManager::getActionKeySorting |
( |
| ) |
|
|
pure virtual |
virtual bool MWBase::InputManager::getControlSwitch |
( |
const std::string & |
sw | ) |
|
|
pure virtual |
virtual int MWBase::InputManager::getNumActions |
( |
| ) |
|
|
pure virtual |
virtual bool MWBase::InputManager::isWindowVisible |
( |
| ) |
|
|
pure virtual |
virtual bool MWBase::InputManager::joystickLastUsed |
( |
| ) |
|
|
pure virtual |
Returns if the last used input device was a joystick or a keyboard
- Returns
- true if joystick, false otherwise
Implemented in MWInput::InputManager.
virtual void MWBase::InputManager::processChangedSettings |
( |
const std::set< std::pair< std::string, std::string > > & |
changed | ) |
|
|
pure virtual |
virtual void MWBase::InputManager::readRecord |
( |
ESM::ESMReader & |
reader, |
|
|
uint32_t |
type |
|
) |
| |
|
pure virtual |
virtual void MWBase::InputManager::resetToDefaultControllerBindings |
( |
| ) |
|
|
pure virtual |
virtual void MWBase::InputManager::resetToDefaultKeyBindings |
( |
| ) |
|
|
pure virtual |
virtual std::string MWBase::InputManager::sdlControllerAxisToString |
( |
int |
axis | ) |
|
|
pure virtual |
virtual std::string MWBase::InputManager::sdlControllerButtonToString |
( |
int |
button | ) |
|
|
pure virtual |
virtual void MWBase::InputManager::setDragDrop |
( |
bool |
dragDrop | ) |
|
|
pure virtual |
virtual void MWBase::InputManager::toggleControlSwitch |
( |
const std::string & |
sw, |
|
|
bool |
value |
|
) |
| |
|
pure virtual |
virtual void MWBase::InputManager::update |
( |
float |
dt, |
|
|
bool |
disableControls, |
|
|
bool |
disableEvents = false |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: