70f79e689b
* First working vibration implementation * Fix Infinite Rumble in SDL2Mouse * Stop ignoring one vibValues every 2 * Remove RumbleInfinity as suggested * Reworked all the vibration handle / calculation * Revert HidVibrationDevicePosition changes * Add UI to enable and tune rumble * Remove some stub logs * Add PlayerIndex in rumble debug log * Fix all requested changes * Implements hid::GetVibrationDeviceInfo * Better implements HidVibrationValue.Equals/GetHashCode * Added requested changes from code review * Last fixes from review * Update configuration file version for rebase
43 lines
1.3 KiB
C#
43 lines
1.3 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 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; }
|
|
}
|
|
}
|