Rigs of Rods 2026.01
Soft-body Physics Simulation
Loading...
Searching...
No Matches
Data Structures | Namespaces | Macros | Enumerations | Variables
InputEngine.h File Reference

Description

Handles controller inputs from player.

Defines input events and binding mechanism, see eventtypes, events. Reads bindings from "*.map" file(s).

Definition in file InputEngine.h.

#include "Application.h"
#include "ForceFeedback.h"
#include "OISEvents.h"
#include "OISForceFeedback.h"
#include "OISInputManager.h"
#include "OISJoyStick.h"
#include "OISKeyboard.h"
#include "OISMouse.h"

Go to the source code of this file.

Data Structures

struct  RoR::InputEvent
 
struct  RoR::event_trigger_t
 
class  RoR::InputEngine
 

Namespaces

namespace  RoR
 

Macros

#define MAX_JOYSTICKS   10
 
#define MAX_JOYSTICK_POVS   4
 
#define MAX_JOYSTICK_SLIDERS   4
 
#define MAX_JOYSTICK_AXIS   32
 

Enumerations

enum  RoR::eventtypes
 
enum class  RoR::InputSourceType
 
enum  RoR::events
 

Variables

const events RoR::EV_INVALID = (events)-1
 

Macro Definition Documentation

◆ MAX_JOYSTICK_AXIS

#define MAX_JOYSTICK_AXIS   32

Definition at line 42 of file InputEngine.h.

◆ MAX_JOYSTICK_POVS

#define MAX_JOYSTICK_POVS   4

Definition at line 40 of file InputEngine.h.

◆ MAX_JOYSTICK_SLIDERS

#define MAX_JOYSTICK_SLIDERS   4

Definition at line 41 of file InputEngine.h.

◆ MAX_JOYSTICKS

#define MAX_JOYSTICKS   10

Definition at line 39 of file InputEngine.h.