![]() |
API Documentation
|
Settings that define how a Joystick will behave. More...
#include <Joystick.h>
Public Types | |
| enum | SensitivityMode { e_linear , e_exponential , e_sinusoidal } |
Public Member Functions | |
| void | getINI (INIFactory &factory) override |
| JoystickSettings () | |
| bool | operator== (const JoystickSettings &settings) const |
| void | resetToDefaults () |
Public Member Functions inherited from INIInterface | |
| virtual void | finishReadingINI (INIFactory &) |
| INIInterface (const File &default_ini) | |
| virtual void | prepareForINI (INIFactory &) |
| virtual bool | readINIOptions () |
| virtual bool | readINIOptions (File &ini_file) |
| virtual bool | saveINIOptions (bool multithead=false) |
| virtual bool | saveINIOptions (File &ini_file, bool multithead=false) |
| void | setDefaultINIFile (const File &file) |
| virtual void | writeToLog (const String &title, ProgressInfo *log, uint01 log_level=2U) |
| virtual void | writeToLog (ProgressInfo *log, uint01 log_level=2U) |
| virtual | ~INIInterface () |
Public Attributes | |
| fltp04 | deadzone = 0.05f |
| fltp04 | sensitivity = 1.0f |
| SensitivityMode | sensitivity_mode = SensitivityMode::e_exponential |
| bool | uses_buttons = false |
| bool | uses_knob = true |
Additional Inherited Members | |
Protected Attributes inherited from INIInterface | |
| File | m_default_ini |
Settings that define how a Joystick will behave.
| enum SensitivityMode |
| JoystickSettings | ( | ) |
|
overridevirtual |
Implements INIInterface.
|
inline |
| void resetToDefaults | ( | ) |
| fltp04 deadzone = 0.05f |
| fltp04 sensitivity = 1.0f |
| SensitivityMode sensitivity_mode = SensitivityMode::e_exponential |
| bool uses_buttons = false |
| bool uses_knob = true |