Murl::IRumbleControl Interface Referenceabstract

The IRumbleControl interface. More...

#include "murl_i_rumble_control.h"

Inheritance diagram for Murl::IRumbleControl:

Public Member Functions

virtual void Rumble (Float duration=0.5)=0
 Trigger a rumble. More...
 
- Public Member Functions inherited from Murl::IControlable
virtual const StringGetName () const =0
 Get the controlable's name. More...
 
virtual void FrameUpdate ()=0
 Is executed in the platform thread context each frame tick.
 
virtual void LogicUpdate ()=0
 Is executed in the logic thread context each logic tick.
 
virtual void ConfigChanged (const IAppConfiguration *appConfig)=0
 Notification of changed configuration. More...
 

Detailed Description

The IRumbleControl interface.

Member Function Documentation

◆ Rumble()

virtual void Murl::IRumbleControl::Rumble ( Float  duration = 0.5)
pure virtual

Trigger a rumble.

Note: Several devices do not support selecting a duration. In such a case the device rumbles it's pre-defined duration.

Parameters
durationDuration of the rumble in seconds.

The documentation for this interface was generated from the following file:
  • murl_i_rumble_control.h


Copyright © 2011-2018 Spraylight GmbH.