Syntax
Parameters
This method has no parameters.Return value
Type: voidRemarks
Call this method when your application no longer needs to control the lighting of a device, for example when the player leaves a game mode that uses custom lighting. It discards every color that was staged by calling IGameInputDevice::SetLightingColor and releases control of the lamps, so that they return to the behavior that the system or the device provides by default. For devices whose protocol has no way to resume the default behavior, the lamps are turned off. After calling this method, you can take control of the lamps again by staging new colors and calling IGameInputDevice::ApplyLightingColors. The following example restores the default lighting of a device.Lighting support depends on the device and the platform. Currently, GameInput supports lighting on Windows Dynamic Lighting (LampArray) devices and on the lightbar of DualSense controllers.
Requirements
Header: GameInput.h Library: gameinput.lib Supported platforms: Windows, XBOX One family consoles and XBOX Series consolesSee also
Overview of GameInputIGameInputDevice
IGameInputDevice::SetLightingColor
IGameInputDevice::ApplyLightingColors
GameInputLightingGroups
