|
Kodi Docs 20.0
Kodi is an open source media player and entertainment hub.
|
#include <PeripheralUtils.h>
Public Member Functions | |
| JoystickFeature (const std::string &name="", JOYSTICK_FEATURE_TYPE type=JOYSTICK_FEATURE_TYPE_UNKNOWN) | |
| Class constructor. More... | |
| JoystickFeature (const JoystickFeature &other) | |
| Class copy constructor. More... | |
| JoystickFeature & | operator= (const JoystickFeature &rhs) |
| Copy data from another JoystickFeature class to here. More... | |
| bool | operator== (const JoystickFeature &other) const |
| Compare this with another class of this type. More... | |
| const std::string & | Name (void) const |
| Get name of feature. More... | |
| JOYSTICK_FEATURE_TYPE | Type (void) const |
| Get name of feature. More... | |
| bool | IsValid () const |
| Check this feature is valid. More... | |
| void | SetName (const std::string &name) |
| Set name of feature. More... | |
| void | SetType (JOYSTICK_FEATURE_TYPE type) |
| Set type of feature. More... | |
| void | SetInvalid (void) |
| Set type as invalid. More... | |
| const DriverPrimitive & | Primitive (JOYSTICK_FEATURE_PRIMITIVE which) const |
| Get primitive of feature by wanted type. More... | |
| void | SetPrimitive (JOYSTICK_FEATURE_PRIMITIVE which, const DriverPrimitive &primitive) |
| Set primitive for feature by wanted type. More... | |
| std::array< DriverPrimitive, JOYSTICK_PRIMITIVE_MAX > & | Primitives () |
| Get all primitives on this class. More... | |
| const std::array< DriverPrimitive, JOYSTICK_PRIMITIVE_MAX > & | Primitives () const |
| Get all primitives on this class (as constant). More... | |
| JoystickFeature (const JOYSTICK_FEATURE &feature) | |
| void | ToStruct (JOYSTICK_FEATURE &feature) const |
Static Public Member Functions | |
| static void | FreeStruct (JOYSTICK_FEATURE &feature) |
|
inlineexplicit |
|
inlinestatic |
|
inline |