|
QuasarEngine
Cross-platform 3D engine and editor
|
Settings that filter the axes of the gamepads. More...
#include <quasar/core/Gamepads.h>
Public Attributes | |
| float | StickDeadZone = 0.15f |
| Distance from the center under which a stick reads as 0. | |
| float | TriggerDeadZone = 0.05f |
| Value under which a trigger reads as 0, on its range from 0 to 1. | |
| float | AxisEventThreshold = 0.01f |
| Change needed to send a GamepadAxisMovedEvent, so that a moving stick does not send an event every frame for tiny changes. | |
Settings that filter the axes of the gamepads.
| float Quasar::GamepadSettings::StickDeadZone = 0.15f |
Distance from the center under which a stick reads as 0.
A stick at rest is never exactly at the center. The dead zone is a circle, so diagonals stay diagonals, and the values past it are scaled to start from 0.
| float Quasar::GamepadSettings::TriggerDeadZone = 0.05f |
Value under which a trigger reads as 0, on its range from 0 to 1.
The values past it are scaled to start from 0.
| float Quasar::GamepadSettings::AxisEventThreshold = 0.01f |
Change needed to send a GamepadAxisMovedEvent, so that a moving stick does not send an event every frame for tiny changes.
Reaching 0 or the end of the range always sends an event.