DigitalSpaces::DIHapticDevice1 Struct Reference
[User Input Interfaces]

#include <Interfaces.h>

Inherits DigitalSpaces::DIObjectBase.


Detailed Description

Available when a device supports force feedback.

Public Member Functions

void SetVibrationLevel (const float)
 Gives a quick way to set the level of force feedback.

Member Function Documentation

void DigitalSpaces::DIHapticDevice1::SetVibrationLevel ( const   float  ) 

Gives a quick way to set the level of force feedback.

Note:
The current implementation (UserInput_DirectInput) supports from 0 to 9. Setting larger then 9 causes 9 to be applied.

Calling this every frame is a bad idea, as it causes the currently running rumble effect to be reset. This can cause your rumble effect to be unnoticable. Provides a "rumble" effect


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

Generated on Sun Aug 31 17:46:28 2008 for Digital Spaces by  doxygen 1.5.6