#include <ForceFeedback.h>
|
void | SetForces (float roll, float pitch, float wspeed, float dircommand, float stress) |
| Called by Update(); we take here : -roll and pitch inertial forces at the camera: this is not used currently, but it can be used for 2 axes force feedback devices, like FF joysticks, to render shocks -wheel speed and direction command, for the artificial auto-centering (which is wheel speed dependant) -hydro beam stress, the ideal data source for FF wheels. More...
|
|
Definition at line 29 of file ForceFeedback.h.
◆ SetEnabled()
void RoR::ForceFeedback::SetEnabled |
( |
bool |
v | ) |
|
◆ SetForces()
void RoR::ForceFeedback::SetForces |
( |
float |
roll, |
|
|
float |
pitch, |
|
|
float |
wspeed, |
|
|
float |
dircommand, |
|
|
float |
stress |
|
) |
| |
|
private |
Called by Update(); we take here : -roll and pitch inertial forces at the camera: this is not used currently, but it can be used for 2 axes force feedback devices, like FF joysticks, to render shocks -wheel speed and direction command, for the artificial auto-centering (which is wheel speed dependant) -hydro beam stress, the ideal data source for FF wheels.
Definition at line 51 of file ForceFeedback.cpp.
◆ Setup()
void RoR::ForceFeedback::Setup |
( |
| ) |
|
◆ Update()
void RoR::ForceFeedback::Update |
( |
| ) |
|
◆ m_device
OIS::ForceFeedback* RoR::ForceFeedback::m_device = nullptr |
|
private |
◆ m_enabled
bool RoR::ForceFeedback::m_enabled = false |
|
private |
◆ m_hydro_effect
OIS::Effect* RoR::ForceFeedback::m_hydro_effect = nullptr |
|
private |
The documentation for this class was generated from the following files: