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