kodi
Public Member Functions | List of all members
KODI::JOYSTICK::IInputReceiver Class Referenceabstract

Interface for sending input events to game controllers. More...

#include <IInputReceiver.h>

Inheritance diagram for KODI::JOYSTICK::IInputReceiver:
Inheritance graph
[legend]

Public Member Functions

virtual bool SetRumbleState (const FeatureName &feature, float magnitude)=0
 Set the value of a rumble motor. More...
 

Detailed Description

Interface for sending input events to game controllers.

Member Function Documentation

◆ SetRumbleState()

virtual bool KODI::JOYSTICK::IInputReceiver::SetRumbleState ( const FeatureName &  feature,
float  magnitude 
)
pure virtual

Set the value of a rumble motor.

Parameters
featureThe name of the motor to rumble
magnitudeThe motor's new magnitude of vibration in the closed interval [0, 1]
Returns
True if the event was handled otherwise false

Implemented in PERIPHERALS::CAddonInputHandling, and KODI::JOYSTICK::CDriverReceiving.


The documentation for this class was generated from the following file: