mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-25 08:36:04 +00:00
686757105c
* adjust position vector + GUI * remove brackets * Update configuration * Update ConfigurationFileFormat.cs * rebase + review changes * spacing * revert deletion * fix profile loading * spacing * comment spacing
52 lines
1.6 KiB
C#
52 lines
1.6 KiB
C#
using Ryujinx.Common.Configuration.Hid.Controller.Motion;
|
|
|
|
namespace Ryujinx.Common.Configuration.Hid.Controller
|
|
{
|
|
public class GenericControllerInputConfig<Button, Stick> : GenericInputConfigurationCommon<Button> where Button : unmanaged where Stick : unmanaged
|
|
{
|
|
/// <summary>
|
|
/// Left JoyCon Controller Stick Bindings
|
|
/// </summary>
|
|
public JoyconConfigControllerStick<Button, Stick> LeftJoyconStick { get; set; }
|
|
|
|
/// <summary>
|
|
/// Right JoyCon Controller Stick Bindings
|
|
/// </summary>
|
|
public JoyconConfigControllerStick<Button, Stick> RightJoyconStick { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Left Analog Stick Deadzone
|
|
/// </summary>
|
|
public float DeadzoneLeft { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Right Analog Stick Deadzone
|
|
/// </summary>
|
|
public float DeadzoneRight { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Left Analog Stick Range
|
|
/// </summary>
|
|
public float RangeLeft { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Right Analog Stick Range
|
|
/// </summary>
|
|
public float RangeRight { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Trigger Threshold
|
|
/// </summary>
|
|
public float TriggerThreshold { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Motion Settings
|
|
/// </summary>
|
|
public MotionConfigController Motion { get; set; }
|
|
|
|
/// <summary>
|
|
/// Controller Rumble Settings
|
|
/// </summary>
|
|
public RumbleConfigController Rumble { get; set; }
|
|
}
|
|
}
|