Service interface. Contains operations that a client can command the Joystick Service to perform.
◆ ~IService()
| M_HidJoystick::IService::~IService |
( |
| ) |
|
|
virtual |
◆ CmdIsJoystickAlive()
| void M_HidJoystick::IService::CmdIsJoystickAlive |
( |
| ) |
|
|
virtual |
Command to check if service is alive. If the service is not available, then an exception will be thrown.
◆ ConfigJoystickCurve()
| void M_HidJoystick::IService::ConfigJoystickCurve |
( |
uint32_t |
KeyAxisIndex, |
|
|
std::string const & |
Curve, |
|
|
bool |
IsRemoved |
|
) |
| |
|
virtual |
Parametrises joystick input scaling, i.e. how quickly a mount follows a joystick input (linearly, quadratically, ...).
- Parameters
-
| KeyAxisIndex | Identifies the axis. |
| Curve | Input scaling characteristics. |
| IsRemoved | Indicates if the payload is no longer available Note: This will always be set to true when the instance has been shut down After this has been set to true, the payload will no longer be available to late joiners. |