API Documentation
Loading...
Searching...
No Matches
JoystickSettings Class Reference

#include <Joystick.h>

Inheritance diagram for JoystickSettings:
[legend]
Collaboration diagram for JoystickSettings:
[legend]

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
 

Member Enumeration Documentation

◆ SensitivityMode

Enumerator
e_linear 
e_exponential 
e_sinusoidal 

Constructor & Destructor Documentation

◆ JoystickSettings()

Member Function Documentation

◆ getINI()

void getINI ( INIFactory & factory)
overridevirtual

Implements INIInterface.

◆ operator==()

bool operator== ( const JoystickSettings & settings) const
inline

◆ resetToDefaults()

void resetToDefaults ( )

Member Data Documentation

◆ deadzone

fltp04 deadzone = 0.05f

◆ sensitivity

fltp04 sensitivity = 1.0f

◆ sensitivity_mode

◆ uses_buttons

bool uses_buttons = false

◆ uses_knob

bool uses_knob = true

The documentation for this class was generated from the following files: