|
|
void | internals::batteryMonitor::getReady () |
| | Prepare to run.
|
| |
|
void | internals::batteryMonitor::configureForTesting () |
| | Configure period, warning and power-off limits for testing.
|
| |
| void | internals::batteryMonitor::configureFakeMonitor (BatteryStatus *fakeStatus) |
| | Configure a fake monitor for testing.
|
| |
| void * | internals::batteryMonitor::getHardwareInstance () |
| | Get the Hardware Instance object.
|
| |
|
void | internals::batteryCalibration::getReady () |
| | Prepare to run.
|
| |
|
void | internals::batteryCalibration::clear () |
| | Clear calibration data (but may persist in flash memory).
|
| |
| void | internals::batteryCalibration::addSample (int reading) |
| | Add an ADC reading to calibration data. The battery should get fully charged before first call.
|
| |
|
void | internals::pixels::getReady () |
| | Prepare to run.
|
| |
| void | internals::pixels::show (const ::std::vector< Pixel > &telemetry, const ::std::vector< Pixel > &buttons, const ::std::vector< Pixel > &individual) |
| | Show pixel data in all groups.
|
| |
| uint8_t | internals::pixels::getCount (PixelGroup group) |
| | Get the total number of pixels in a group.
|
| |
|
void | internals::ui::getReady () |
| | Prepare to run.
|
| |
| void | internals::ui::routeInput (uint8_t inputNumber) |
| | Route an input event to all UI instances.
|
| |
|
void | internals::inputs::getReady () |
| | Prepare to run.
|
| |
| void | internals::inputs::addFakeInput (FakeInput *instance) |
| | Add a fake input instance for testing.
|
| |
| void | internals::inputs::notifyInputEvent (const DecouplingEvent &input) |
| | Push an input event into the decoupling queue (for testing)
|
| |
|
void | internals::inputHub::getReady () |
| | Check that user configuration is correct.
|
| |
| void | internals::inputHub::onRawInput (DecouplingEvent &input) |
| | Process a single input event.
|
| |
|
void | internals::storage::getReady () |
| | Prepare to run.
|
| |
|
void | internals::inputMap::getReady () |
| | Prepare to run.
|
| |
|
void | internals::inputMap::clear () |
| | Clear the whole map (for testing) and the custom defaults.
|
| |
| void | internals::inputMap::map (bool isAltModeEngaged, uint128_t &bitmap) |
| | Map a firmware-defined input bitmap.
|
| |
|
void | internals::power::getReady () |
| | Prepare to run.
|
| |
| void | internals::hid::begin (std::string deviceName, std::string deviceManufacturer, bool enableAutoPowerOff, uint16_t VID, uint16_t PID, bool usb_enable=true, bool ble_enable=true, bool exclusive=false) |
| | Start BLE/Bluetooth HID.
|
| |
| bool | internals::hid::supportsCustomHardwareID () |
| | Support for a custom PID/VID.
|
| |
| bool | internals::hid::isConnected () |
| | Tell if there is a host connection.
|
| |
|
void | internals::hid::reportChangeInConfig () |
| | Report a change in user settings (clutch function, etc.)
|
| |
| void | internals::hid::reportBatteryLevel (const BatteryStatus &status) |
| | Report current battery level and status to the host computer.
|
| |
| void | internals::hid::reportInput (const uint128_t &inputs, uint8_t POVstate, uint8_t leftAxis, uint8_t rightAxis, uint8_t clutchAxis) |
| | Report HID inputs.
|
| |
|
void | internals::hid::reset () |
| | Report all inputs as not active.
|
| |
|
void | internals::hid::common::getReady () |
| | Prepare to run.
|
| |
| uint16_t | internals::hid::common::onGetFeature (uint8_t report_id, uint8_t *buffer, uint16_t len) |
| | Send feature report.
|
| |
| void | internals::hid::common::onSetFeature (uint8_t report_id, const uint8_t *buffer, uint16_t len) |
| | Receive a feature report.
|
| |
| void | internals::hid::common::onOutput (uint8_t report_id, const uint8_t *buffer, uint16_t len) |
| | Receive an output report.
|
| |
| void | internals::hid::common::onReset (uint8_t *report) |
| | Resets data for the input report.
|
| |
| void | internals::hid::common::onReportInput (uint8_t *report, bool notifyConfigChanges, const uint128_t &inputs, uint8_t POVstate, uint8_t leftAxis, uint8_t rightAxis, uint8_t clutchAxis) |
| | Sets data for the input report.
|
| |
| BatteryStatusChrData | internals::hid::common::toBleBatteryStatus (const BatteryStatus &status) |
| | Convert a battery status to the data format required by the BAS specification (BLE only)
|
| |
System functionality not exposed to the end user.
- Author
- Ángel Fernández Pineda. Madrid. Spain.
- Date
- 2025-02-11
- Copyright
- Licensed under the EUPL
Definition in file SimWheelInternals.hpp.