RigsofRods
Soft-body Physics Simulation
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes
RoR::InputEngine Class Reference

Manages controller configuration, evaluates input events. More...

#include <InputEngine.h>

Public Types

typedef std::vector< event_trigger_tTriggerVec
 
typedef std::map< int, TriggerVecEventMap
 

Public Member Functions

 InputEngine ()
 
 ~InputEngine ()
 
Setup
void SetKeyboardListener (OIS::KeyListener *obj)
 
OIS::Keyboard * GetOisKeyboard ()
 
void SetMouseListener (OIS::MouseListener *obj)
 
void SetJoystickListener (OIS::JoyStickListener *obj)
 
void destroy ()
 
Input processing
void Capture ()
 
void updateKeyBounces (float dt)
 
void ProcessMouseEvent (const OIS::MouseEvent &arg)
 
void ProcessKeyPress (const OIS::KeyEvent &arg)
 
void ProcessKeyRelease (const OIS::KeyEvent &arg)
 
void ProcessJoystickEvent (const OIS::JoyStickEvent &arg)
 
void resetKeys ()
 
void setEventSimulatedValue (events eventID, float value)
 
void setEventStatusSupressed (events eventID, bool supress)
 
Event info
Ogre::String getKeyForCommand (int eventID)
 
Ogre::String getModifierKeyName (OIS::KeyCode key)
 
Ogre::String getDeviceName (event_trigger_t const &evt)
 
Ogre::String getEventCommand (int eventID)
 
std::string getEventCommandTrimmed (int eventID)
 Omits 'EXPL' modifier. More...
 
Ogre::String getTriggerCommand (event_trigger_t const &evt)
 
Ogre::String getEventConfig (int eventID)
 
Ogre::String getEventDefaultConfig (int eventID)
 
bool isEventDefined (int eventID)
 
int getKeboardKeyForCommand (int eventID)
 Returns -1 if not Keyboard. More...
 
int getJoyComponentCount (OIS::ComponentType type, int joystickNumber)
 
std::string getJoyVendor (int joystickNumber)
 
int getNumJoysticks ()
 
EventMapgetEvents ()
 
Event config files
bool loadConfigFile (int deviceID=-1)
 Loads config file specific to a device and OS (or default config if deviceID is -1). More...
 
bool saveConfigFile (int deviceID=-1)
 Wites events with matching deviceID to loaded file with matching deviceID (or default file if deviceID is -1). More...
 
std::string const & getLoadedConfigFile (int deviceID=-1)
 Returns filename from loadConfigFile() call. More...
 
bool processLine (const char *line, int deviceID=-1)
 
bool updateConfigline (event_trigger_t *t)
 
Event management
void addEvent (int eventID, event_trigger_t &t)
 Registers new trigger for this event. More...
 
void addEvent (int eventID)
 Registers new event without trigger. More...
 
void addEventDefault (int eventID, int deviceID=-1)
 Adds a new trigger with builtin value for this event. More...
 
void updateEvent (int eventID, const event_trigger_t &t)
 
void eraseEvent (int eventID, const event_trigger_t *t)
 
void clearEvents (int eventID)
 Clears all bindings for given event. More...
 
void clearEventsByDevice (int deviceID)
 Clears all bindings with given deviceID (-1 is no exception). More...
 
void clearAllEvents ()
 Purges all configured bindings. More...
 
Event states
float getEventValue (int eventID, bool pure=false, InputSourceType valueSource=InputSourceType::IST_ANY)
 valueSource: IST_ANY=digital and analog devices, IST_DIGITAL=only digital, IST_ANALOG=only analog More...
 
bool getEventBoolValue (int eventID)
 
bool isEventAnalog (int eventID)
 
bool getEventBoolValueBounce (int eventID, float time=0.2f)
 
float getEventBounceTime (int eventID)
 
bool isKeyDownEffective (OIS::KeyCode mod)
 Reads RoR internal buffer. More...
 
bool isKeyDownValueBounce (OIS::KeyCode mod, float time=0.2f)
 
Direct input device states
OIS::JoyStickState * getCurrentJoyState (int joystickNumber)
 
OIS::MouseState getMouseState ()
 
bool isKeyDown (OIS::KeyCode mod)
 Asks OIS directly. More...
 
int getCurrentKeyCombo (Ogre::String *combo)
 Returns number of non-modifier keys pressed (or modifier count as negative number). More...
 
int getCurrentJoyButton (int &joystickNumber, int &button)
 
int getCurrentPovValue (int &joystickNumber, int &pov, int &povdir)
 
Ogre::Vector2 getMouseNormalizedScreenPos ()
 Returns XY position in range from 0 (top/left) to 1 (bottom/right) More...
 
Misc
void windowResized (Ogre::RenderWindow *rw)
 
OIS::ForceFeedback * getForceFeedbackDevice ()
 

Static Public Attributes

static const std::string DEFAULT_MAPFILE = "input.map"
 = "input.map"; More...
 
static const int DEFAULT_MAPFILE_DEVICEID = -1
 virtual device ID for "input.map" entries More...
 
static const int BUILTIN_MAPPING_DEVICEID = -2
 virtual device ID for builtin defaults More...
 

Protected Member Functions

bool loadMapping (Ogre::String fileName, int deviceID)
 
bool saveMapping (Ogre::String fileName, int deviceID)
 
void completeMissingEvents ()
 
void initAllKeys ()
 
void setup ()
 
float deadZone (float axis, float dz)
 
float axisLinearity (float axisValue, float linearity)
 
float logval (float val)
 
std::string getEventGroup (Ogre::String eventName)
 
std::string composeEventConfigString (event_trigger_t const &trig)
 
std::string composeEventCommandString (event_trigger_t const &trig)
 
event_trigger_t newEvent ()
 

Protected Attributes

OIS::InputManager * mInputManager
 
OIS::Mouse * mMouse
 
OIS::Keyboard * mKeyboard
 
OIS::JoyStick * mJoy [MAX_JOYSTICKS]
 
int free_joysticks
 Number of detected game controllers. More...
 
OIS::ForceFeedback * mForceFeedback
 
int uniqueCounter
 
std::map< int, bool > keyState
 
OIS::JoyStickState joyState [MAX_JOYSTICKS]
 
OIS::MouseState mouseState
 
std::map< int, std::vector< event_trigger_t > > events
 
std::map< int, float > event_values_simulated
 
std::map< int, float > event_times
 
std::map< int, bool > event_states_supressed
 
std::string m_loaded_configs [MAX_JOYSTICKS]
 
std::map< std::string, OIS::KeyCode > allkeys
 
std::map< std::string, OIS::KeyCode >::iterator allit
 

Event utils

std::string getKeyNameForKeyCode (OIS::KeyCode keycode)
 
static const char * getEventTypeName (eventtypes type)
 Enum to string helper. More...
 
static int resolveEventName (Ogre::String eventName)
 
static Ogre::String eventIDToName (int eventID)
 
static Ogre::String eventIDToDescription (int eventID)
 

Detailed Description

Manages controller configuration, evaluates input events.

Definition at line 457 of file InputEngine.h.

Member Typedef Documentation

◆ EventMap

typedef std::map<int, TriggerVec> RoR::InputEngine::EventMap

Definition at line 461 of file InputEngine.h.

◆ TriggerVec

Definition at line 460 of file InputEngine.h.

Constructor & Destructor Documentation

◆ InputEngine()

InputEngine::InputEngine ( )

Definition at line 416 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ ~InputEngine()

InputEngine::~InputEngine ( )

Definition at line 434 of file InputEngine.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ addEvent() [1/2]

void InputEngine::addEvent ( int  eventID)

Registers new event without trigger.

Definition at line 1199 of file InputEngine.cpp.

◆ addEvent() [2/2]

void InputEngine::addEvent ( int  eventID,
event_trigger_t t 
)

Registers new trigger for this event.

Definition at line 1193 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ addEventDefault()

void InputEngine::addEventDefault ( int  eventID,
int  deviceID = -1 
)

Adds a new trigger with builtin value for this event.

Definition at line 1214 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ axisLinearity()

float InputEngine::axisLinearity ( float  axisValue,
float  linearity 
)
protected

Definition at line 759 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ Capture()

void InputEngine::Capture ( )

Definition at line 620 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ clearAllEvents()

void InputEngine::clearAllEvents ( )

Purges all configured bindings.

Definition at line 1279 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ clearEvents()

void InputEngine::clearEvents ( int  eventID)

Clears all bindings for given event.

Definition at line 1253 of file InputEngine.cpp.

◆ clearEventsByDevice()

void InputEngine::clearEventsByDevice ( int  deviceID)

Clears all bindings with given deviceID (-1 is no exception).

Definition at line 1261 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ completeMissingEvents()

void InputEngine::completeMissingEvents ( )
protected

Definition at line 1830 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ composeEventCommandString()

std::string InputEngine::composeEventCommandString ( event_trigger_t const &  trig)
protected

Definition at line 818 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ composeEventConfigString()

std::string InputEngine::composeEventConfigString ( event_trigger_t const &  trig)
protected

Definition at line 840 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ deadZone()

float InputEngine::deadZone ( float  axis,
float  dz 
)
protected

Definition at line 744 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ destroy()

void InputEngine::destroy ( )

Definition at line 439 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ eraseEvent()

void InputEngine::eraseEvent ( int  eventID,
const event_trigger_t t 
)

Definition at line 1237 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ eventIDToDescription()

String InputEngine::eventIDToDescription ( int  eventID)
static

Definition at line 2021 of file InputEngine.cpp.

◆ eventIDToName()

String InputEngine::eventIDToName ( int  eventID)
static

Definition at line 2009 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getCurrentJoyButton()

int InputEngine::getCurrentJoyButton ( int &  joystickNumber,
int &  button 
)

Definition at line 1625 of file InputEngine.cpp.

◆ getCurrentJoyState()

JoyStickState * InputEngine::getCurrentJoyState ( int  joystickNumber)

Definition at line 1690 of file InputEngine.cpp.

◆ getCurrentKeyCombo()

int InputEngine::getCurrentKeyCombo ( Ogre::String *  combo)

Returns number of non-modifier keys pressed (or modifier count as negative number).

Definition at line 1697 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCurrentPovValue()

int InputEngine::getCurrentPovValue ( int &  joystickNumber,
int &  pov,
int &  povdir 
)

Definition at line 1642 of file InputEngine.cpp.

◆ getDeviceName()

String InputEngine::getDeviceName ( event_trigger_t const &  evt)

Definition at line 1148 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ getEventBoolValue()

bool InputEngine::getEventBoolValue ( int  eventID)

Definition at line 710 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEventBoolValueBounce()

bool InputEngine::getEventBoolValueBounce ( int  eventID,
float  time = 0.2f 
)

Definition at line 715 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEventBounceTime()

float InputEngine::getEventBounceTime ( int  eventID)

Definition at line 728 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getEventCommand()

String InputEngine::getEventCommand ( int  eventID)

Definition at line 773 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEventCommandTrimmed()

std::string InputEngine::getEventCommandTrimmed ( int  eventID)

Omits 'EXPL' modifier.

Definition at line 784 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getEventConfig()

String InputEngine::getEventConfig ( int  eventID)

Definition at line 795 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ getEventDefaultConfig()

String InputEngine::getEventDefaultConfig ( int  eventID)

Definition at line 806 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getEventGroup()

String InputEngine::getEventGroup ( Ogre::String  eventName)
protected

Definition at line 1748 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getEvents()

EventMap& RoR::InputEngine::getEvents ( )
inline

Definition at line 507 of file InputEngine.h.

+ Here is the caller graph for this function:

◆ getEventTypeName()

const char * InputEngine::getEventTypeName ( eventtypes  type)
static

Enum to string helper.

Definition at line 1173 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getEventValue()

float InputEngine::getEventValue ( int  eventID,
bool  pure = false,
InputSourceType  valueSource = InputSourceType::IST_ANY 
)

valueSource: IST_ANY=digital and analog devices, IST_DIGITAL=only digital, IST_ANALOG=only analog

Definition at line 911 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getForceFeedbackDevice()

OIS::ForceFeedback* RoR::InputEngine::getForceFeedbackDevice ( )
inline

Definition at line 566 of file InputEngine.h.

+ Here is the caller graph for this function:

◆ getJoyComponentCount()

int InputEngine::getJoyComponentCount ( OIS::ComponentType  type,
int  joystickNumber 
)

Definition at line 1676 of file InputEngine.cpp.

◆ getJoyVendor()

std::string InputEngine::getJoyVendor ( int  joystickNumber)

Definition at line 1683 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getKeboardKeyForCommand()

int InputEngine::getKeboardKeyForCommand ( int  eventID)

Returns -1 if not Keyboard.

Definition at line 872 of file InputEngine.cpp.

◆ getKeyForCommand()

String InputEngine::getKeyForCommand ( int  eventID)

Definition at line 2181 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getKeyNameForKeyCode()

String InputEngine::getKeyNameForKeyCode ( OIS::KeyCode  keycode)

Definition at line 604 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getLoadedConfigFile()

std::string const & InputEngine::getLoadedConfigFile ( int  deviceID = -1)

Returns filename from loadConfigFile() call.

Definition at line 1901 of file InputEngine.cpp.

◆ getModifierKeyName()

Ogre::String InputEngine::getModifierKeyName ( OIS::KeyCode  key)

Definition at line 2194 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getMouseNormalizedScreenPos()

Ogre::Vector2 InputEngine::getMouseNormalizedScreenPos ( )

Returns XY position in range from 0 (top/left) to 1 (bottom/right)

Definition at line 1660 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getMouseState()

OIS::MouseState InputEngine::getMouseState ( )

Definition at line 599 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ getNumJoysticks()

int RoR::InputEngine::getNumJoysticks ( )
inline

Definition at line 506 of file InputEngine.h.

◆ GetOisKeyboard()

OIS::Keyboard* RoR::InputEngine::GetOisKeyboard ( )
inline

Definition at line 473 of file InputEngine.h.

+ Here is the caller graph for this function:

◆ getTriggerCommand()

String InputEngine::getTriggerCommand ( event_trigger_t const &  evt)

Definition at line 790 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ initAllKeys()

void InputEngine::initAllKeys ( )
protected

Definition at line 2033 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ isEventAnalog()

bool InputEngine::isEventAnalog ( int  eventID)

Definition at line 884 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ isEventDefined()

bool InputEngine::isEventDefined ( int  eventID)

Definition at line 861 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ isKeyDown()

bool InputEngine::isKeyDown ( OIS::KeyCode  mod)

Asks OIS directly.

Definition at line 1123 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ isKeyDownEffective()

bool InputEngine::isKeyDownEffective ( OIS::KeyCode  mod)

Reads RoR internal buffer.

Definition at line 1130 of file InputEngine.cpp.

◆ isKeyDownValueBounce()

bool InputEngine::isKeyDownValueBounce ( OIS::KeyCode  mod,
float  time = 0.2f 
)

Definition at line 1135 of file InputEngine.cpp.

+ Here is the call graph for this function:

◆ loadConfigFile()

bool InputEngine::loadConfigFile ( int  deviceID = -1)

Loads config file specific to a device and OS (or default config if deviceID is -1).

Definition at line 1847 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ loadMapping()

bool InputEngine::loadMapping ( Ogre::String  fileName,
int  deviceID 
)
protected

Definition at line 1910 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ logval()

float InputEngine::logval ( float  val)
protected

Definition at line 764 of file InputEngine.cpp.

◆ newEvent()

event_trigger_t InputEngine::newEvent ( )
protected

Definition at line 1669 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ ProcessJoystickEvent()

void InputEngine::ProcessJoystickEvent ( const OIS::JoyStickEvent &  arg)

Definition at line 666 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ ProcessKeyPress()

void InputEngine::ProcessKeyPress ( const OIS::KeyEvent &  arg)

Definition at line 675 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ ProcessKeyRelease()

void InputEngine::ProcessKeyRelease ( const OIS::KeyEvent &  arg)

Definition at line 680 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ processLine()

bool InputEngine::processLine ( const char *  line,
int  deviceID = -1 
)

Definition at line 1285 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ProcessMouseEvent()

void InputEngine::ProcessMouseEvent ( const OIS::MouseEvent &  arg)

Definition at line 686 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ resetKeys()

void InputEngine::resetKeys ( )

Definition at line 692 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ resolveEventName()

int InputEngine::resolveEventName ( Ogre::String  eventName)
static

Definition at line 1996 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ saveConfigFile()

bool InputEngine::saveConfigFile ( int  deviceID = -1)

Wites events with matching deviceID to loaded file with matching deviceID (or default file if deviceID is -1).

Definition at line 1891 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ saveMapping()

bool InputEngine::saveMapping ( Ogre::String  fileName,
int  deviceID 
)
protected

Definition at line 1944 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setEventSimulatedValue()

void InputEngine::setEventSimulatedValue ( RoR::events  eventID,
float  value 
)

Definition at line 700 of file InputEngine.cpp.

◆ setEventStatusSupressed()

void InputEngine::setEventStatusSupressed ( RoR::events  eventID,
bool  supress 
)

Definition at line 705 of file InputEngine.cpp.

◆ SetJoystickListener()

void InputEngine::SetJoystickListener ( OIS::JoyStickListener *  obj)

Definition at line 657 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ SetKeyboardListener()

void InputEngine::SetKeyboardListener ( OIS::KeyListener *  obj)

Definition at line 645 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ SetMouseListener()

void InputEngine::SetMouseListener ( OIS::MouseListener *  obj)

Definition at line 651 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ setup()

void InputEngine::setup ( )
protected

Definition at line 470 of file InputEngine.cpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ updateConfigline()

bool InputEngine::updateConfigline ( event_trigger_t t)

Definition at line 1762 of file InputEngine.cpp.

◆ updateEvent()

void InputEngine::updateEvent ( int  eventID,
const event_trigger_t t 
)

Definition at line 1224 of file InputEngine.cpp.

◆ updateKeyBounces()

void InputEngine::updateKeyBounces ( float  dt)

Definition at line 733 of file InputEngine.cpp.

+ Here is the caller graph for this function:

◆ windowResized()

void InputEngine::windowResized ( Ogre::RenderWindow *  rw)

Definition at line 634 of file InputEngine.cpp.

+ Here is the caller graph for this function:

Field Documentation

◆ allit

std::map<std::string, OIS::KeyCode>::iterator RoR::InputEngine::allit
protected

Definition at line 598 of file InputEngine.h.

◆ allkeys

std::map<std::string, OIS::KeyCode> RoR::InputEngine::allkeys
protected

Definition at line 597 of file InputEngine.h.

◆ BUILTIN_MAPPING_DEVICEID

const int RoR::InputEngine::BUILTIN_MAPPING_DEVICEID = -2
static

virtual device ID for builtin defaults

Definition at line 465 of file InputEngine.h.

◆ DEFAULT_MAPFILE

const std::string InputEngine::DEFAULT_MAPFILE = "input.map"
static

= "input.map";

Definition at line 463 of file InputEngine.h.

◆ DEFAULT_MAPFILE_DEVICEID

const int RoR::InputEngine::DEFAULT_MAPFILE_DEVICEID = -1
static

virtual device ID for "input.map" entries

Definition at line 464 of file InputEngine.h.

◆ event_states_supressed

std::map<int, bool> RoR::InputEngine::event_states_supressed
protected

Definition at line 589 of file InputEngine.h.

◆ event_times

std::map<int, float> RoR::InputEngine::event_times
protected

Definition at line 588 of file InputEngine.h.

◆ event_values_simulated

std::map<int, float> RoR::InputEngine::event_values_simulated
protected

Definition at line 587 of file InputEngine.h.

◆ events

std::map<int, std::vector<event_trigger_t> > RoR::InputEngine::events
protected

Definition at line 586 of file InputEngine.h.

◆ free_joysticks

int RoR::InputEngine::free_joysticks
protected

Number of detected game controllers.

Definition at line 576 of file InputEngine.h.

◆ joyState

OIS::JoyStickState RoR::InputEngine::joyState[MAX_JOYSTICKS]
protected

Definition at line 582 of file InputEngine.h.

◆ keyState

std::map<int, bool> RoR::InputEngine::keyState
protected

Definition at line 581 of file InputEngine.h.

◆ m_loaded_configs

std::string RoR::InputEngine::m_loaded_configs[MAX_JOYSTICKS]
protected

Definition at line 590 of file InputEngine.h.

◆ mForceFeedback

OIS::ForceFeedback* RoR::InputEngine::mForceFeedback
protected

Definition at line 577 of file InputEngine.h.

◆ mInputManager

OIS::InputManager* RoR::InputEngine::mInputManager
protected

Definition at line 566 of file InputEngine.h.

◆ mJoy

OIS::JoyStick* RoR::InputEngine::mJoy[MAX_JOYSTICKS]
protected

Definition at line 575 of file InputEngine.h.

◆ mKeyboard

OIS::Keyboard* RoR::InputEngine::mKeyboard
protected

Definition at line 574 of file InputEngine.h.

◆ mMouse

OIS::Mouse* RoR::InputEngine::mMouse
protected

Definition at line 573 of file InputEngine.h.

◆ mouseState

OIS::MouseState RoR::InputEngine::mouseState
protected

Definition at line 583 of file InputEngine.h.

◆ uniqueCounter

int RoR::InputEngine::uniqueCounter
protected

Definition at line 578 of file InputEngine.h.


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