Share via


IGameInputForceFeedbackEffect::GetDevice (v1)

Retrieves the device associated with the force feedback effect.

Syntax

void GetDevice(
    IGameInputDevice** device
);

Parameters

device   _Outptr_
Type: IGameInputDevice**

This method returns the device associated with the force feedback effect.

Return value

Type: void

No return.

Remarks

The IGameInputForceFeedbackEffect::GetDevice method retrieves the device associated with the force feedback effect. The IGameInputDevice object represents an input device. The methods in the IGameInputDevice interface allow you to identify and interact with a game input device. You can query information about the device such as its type and abilities. You can also activate device specific hardware like haptic and force feedback. For more information, see Advanced GameInput topics.

Requirements

Header: GameInput.h

Library: gameinput.lib

Supported platforms: Windows

See also

Overview of GameInput IGameInputForceFeedbackEffect