xbmc
|
Class to translate input events from higher-level features to driver primitives. More...
#include <DriverReceiving.h>
Public Member Functions | |
CDriverReceiving (IDriverReceiver *receiver, IButtonMap *buttonMap) | |
bool | SetRumbleState (const FeatureName &feature, float magnitude) override |
Set the value of a rumble motor. More... | |
Class to translate input events from higher-level features to driver primitives.
A button map is used to translate controller features to driver primitives. The button map has been abstracted away behind the IButtonMap interface so that it can be provided by an add-on.
|
overridevirtual |
Set the value of a rumble motor.
feature | The name of the motor to rumble |
magnitude | The motor's new magnitude of vibration in the closed interval [0, 1] |
Implements KODI::JOYSTICK::IInputReceiver.