Compartilhar via


IGameInputDevice::PowerOff

Note

This function is not yet implemented.

Turns off the power to the input device.

Syntax

void PowerOff(  
)  

Parameters

This method has no parameters.

Return value

Type: void

No return value.

Remarks

The IGameInputDevice::PowerOff method turns the power off to the input device. The IGameInputDevice interface provides applications access to rich information about an input device's properties, capabilities, and current state. You can query device information such as its type, abilities, and battery state. You may also activate some device-specific hardware like haptic and force feedback.

Note

Not all devices support this power-off function.

Requirements

Header: gameinput.h

Library: xgameruntime.lib

Supported platforms: Windows, Xbox One family consoles and Xbox Series consoles

See also

Advanced GameInput topics
Overview of GameInput
IGameInputDevice