![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
Set of device capabilities. More...
#include <InternalTypes.hpp>
Static Public Member Functions | |
| static void | setFlag (DeviceCapability capability, bool setOrClear=true) |
| Clear or set a device capability. | |
| static bool | hasFlag (DeviceCapability capability) |
| Check if a capability is available. | |
| static uint16_t | getFlags () |
| Get all flags as a bitmap. | |
Set of device capabilities.
Definition at line 163 of file InternalTypes.hpp.
|
inlinestatic |
|
inlinestatic |
Check if a capability is available.
| capability | A device capability |
Definition at line 187 of file InternalTypes.hpp.
|
inlinestatic |
Clear or set a device capability.
| capability | A device capability |
| setOrClear | True to set, false to clear |
Definition at line 172 of file InternalTypes.hpp.