 |
RigsofRods
Soft-body Physics Simulation
|
Go to the documentation of this file.
32 #include "OISEvents.h"
33 #include "OISForceFeedback.h"
34 #include "OISInputManager.h"
35 #include "OISJoyStick.h"
36 #include "OISKeyboard.h"
39 #define MAX_JOYSTICKS 10
40 #define MAX_JOYSTICK_POVS 4
41 #define MAX_JOYSTICK_SLIDERS 4
42 #define MAX_JOYSTICK_AXIS 32
520 bool processLine(
const char* line,
int deviceID = -1);
591 std::map<int, std::vector<event_trigger_t>>
events;
596 bool loadMapping(Ogre::String fileName,
int deviceID);
597 bool saveMapping(Ogre::String fileName,
int deviceID);
603 std::map<std::string, OIS::KeyCode>::iterator
allit;
605 float deadZone(
float axis,
float dz);
enum eventtypes eventtype
float joystickAxisLinearity
int configDeviceID
For which device (which config file) was this binding defined?
int joystickSliderReverse
float joystickAxisDeadzone
Central state/object manager and communications hub.
char configline[256]
Mixed use: keyboard=key, joyButton=buttonNum, POV=direction, joyAxes=options.
bool joystickAxisUseDigital