diff options
| author | mpnico <mpnico@gmail.com> | 2021-08-05 00:39:40 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-05 00:39:40 +0200 |
| commit | 70f79e689bc947313aab11c41e59928ce43be517 (patch) | |
| tree | db4aecd13e2895c650a6cf2cd84966ab06b44648 /Ryujinx.Headless.SDL2/Program.cs | |
| parent | 46ffc81d90bd3a8f2d24c2997166d22f12ecbbb6 (diff) | |
Implement vibrations (#2468)
* 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
Diffstat (limited to 'Ryujinx.Headless.SDL2/Program.cs')
| -rw-r--r-- | Ryujinx.Headless.SDL2/Program.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Ryujinx.Headless.SDL2/Program.cs b/Ryujinx.Headless.SDL2/Program.cs index 2884f38a..c3a10929 100644 --- a/Ryujinx.Headless.SDL2/Program.cs +++ b/Ryujinx.Headless.SDL2/Program.cs @@ -236,6 +236,12 @@ namespace Ryujinx.Headless.SDL2 EnableMotion = true, Sensitivity = 100, GyroDeadzone = 1, + }, + Rumble = new RumbleConfigController + { + StrongRumble = 1f, + WeakRumble = 1f, + EnableRumble = false } }; } |
