![]() |
OpenSourceSimWheelESP32
Open-source wireless steering wheel/button box for ESP32 boards
|
HID service. More...
#include <InternalServices.hpp>
Public Member Functions | |
| virtual void | getCustomHardwareID (uint16_t &customVID, uint16_t &customPID) |
| Get the user-defined custom hardware ID. | |
| virtual void | setCustomHardwareID (uint16_t customVID, uint16_t customPID, bool save=true) |
| Set the user-defiend custom hardware ID. | |
Additional Inherited Members | |
Static Public Member Functions inherited from DependencyManager< HidService > | |
| static HidService & | call () |
| Get the service provider implementing the service. | |
| static void | inject (_Args &&...__args) |
| Inject a service provider. | |
| static void | inject (HidService *provider) |
| Inject a service provider. | |
| static void | reset () |
| Remove the injected service provider (for testing) | |
HID service.
Definition at line 568 of file InternalServices.hpp.
|
inlinevirtual |
Get the user-defined custom hardware ID.
| [out] | customVID | Custom VID or zero if not configured |
| [out] | customPID | Custom PID or zero if not configured |
Definition at line 577 of file InternalServices.hpp.
|
inlinevirtual |
Set the user-defiend custom hardware ID.
customVID and customPID are set to zero, the factory defaults will be used instead.| customVID | Custom VID |
| customPID | Custom PID |
| save | True to save to persistent storage |
Definition at line 592 of file InternalServices.hpp.