mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2025-08-30 07:25:05 +00:00
Some checks are pending
Canary release job / Create tag (push) Waiting to run
Canary release job / Release for linux-arm64 (push) Waiting to run
Canary release job / Release for linux-x64 (push) Waiting to run
Canary release job / Release for win-x64 (push) Waiting to run
Canary release job / Release MacOS universal (push) Waiting to run
This allows the user to change the controller LED while using Ryujinx. Useful for PS4 and PS5 controllers as an example. You can also use a spectrum-cycling Rainbow color option, or turn the LED off for DualSense controllers. --------- Co-authored-by: Evan Husted <greem@greemdev.net>
25 lines
737 B
C#
25 lines
737 B
C#
namespace Ryujinx.Common.Configuration.Hid.Controller
|
|
{
|
|
public class LedConfigController
|
|
{
|
|
/// <summary>
|
|
/// Enable LED color changing by the emulator
|
|
/// </summary>
|
|
public bool EnableLed { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ignores the color and disables the LED entirely.
|
|
/// </summary>
|
|
public bool TurnOffLed { get; set; }
|
|
|
|
/// <summary>
|
|
/// Ignores the color and uses the rainbow color functionality for the LED.
|
|
/// </summary>
|
|
public bool UseRainbow { get; set; }
|
|
|
|
/// <summary>
|
|
/// Packed RGB int of the color
|
|
/// </summary>
|
|
public uint LedColor { get; set; }
|
|
}
|
|
}
|