Input Hub service.
More...
#include <InternalServices.hpp>
|
| static InputHubService & | call () |
| | Get the service provider implementing the service.
|
| |
| static void | inject (_Args &&...__args) |
| | Inject a service provider.
|
| |
| static void | inject (InputHubService *provider) |
| | Inject a service provider.
|
| |
| static void | reset () |
| | Remove the injected service provider (for testing)
|
| |
Input Hub service.
Definition at line 234 of file InternalServices.hpp.
◆ getAltButtonsWorkingMode()
Get the current working mode of ALT buttons.
- Returns
- AltButtonsWorkingMode Working mode
Definition at line 273 of file InternalServices.hpp.
◆ getBitePoint()
| virtual uint8_t InputHubService::getBitePoint |
( |
| ) |
|
|
inlinevirtual |
◆ getClutchWorkingMode()
Get the current clutch working mode.
- Returns
- ClutchWorkingMode Working mode
Definition at line 263 of file InternalServices.hpp.
◆ getDPadWorkingMode()
Get the current working mode of the directional pad.
- Returns
- DPadWorkingMode Working mode
Definition at line 283 of file InternalServices.hpp.
◆ getSecurityLock()
| virtual bool InputHubService::getSecurityLock |
( |
| ) |
|
|
inlinevirtual |
Get the status of the security lock.
- Returns
- true If locked
-
false If not locked
Definition at line 243 of file InternalServices.hpp.
◆ setAltButtonsWorkingMode()
Set the working mode of ALT buttons.
- Parameters
-
| mode | Working mode |
| save | True to save to flash memory |
Definition at line 314 of file InternalServices.hpp.
◆ setBitePoint()
| virtual void InputHubService::setBitePoint |
( |
uint8_t | value, |
|
|
bool | save = true ) |
|
inlinevirtual |
Set the clutch bite point.
- Parameters
-
| value | Bite point |
| save | True to save to flash memory |
Definition at line 294 of file InternalServices.hpp.
◆ setClutchWorkingMode()
| virtual void InputHubService::setClutchWorkingMode |
( |
ClutchWorkingMode | mode, |
|
|
bool | save = true ) |
|
inlinevirtual |
Set the clutch working mode.
- Parameters
-
| mode | Working mode |
| save | True to save to flash memory |
Definition at line 304 of file InternalServices.hpp.
◆ setDPadWorkingMode()
| virtual void InputHubService::setDPadWorkingMode |
( |
DPadWorkingMode | mode, |
|
|
bool | save = true ) |
|
inlinevirtual |
Set the directional pad working mode.
- Parameters
-
| mode | Working mode |
| save | True to save to flash memory |
Definition at line 324 of file InternalServices.hpp.
◆ setSecurityLock()
| virtual void InputHubService::setSecurityLock |
( |
bool | value, |
|
|
bool | save = true ) |
|
inlinevirtual |
Set the status of the security lock.
- Parameters
-
| value | True to activate, false to deactivate |
| save | True to save to flash memory |
Definition at line 334 of file InternalServices.hpp.
The documentation for this class was generated from the following file: