Disable the partial implementation of haptic feedback

This commit is contained in:
YoshiRulz 2021-05-12 03:59:38 +10:00
parent f7e38d499d
commit 567cb0c8fd
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 4 additions and 0 deletions

View File

@ -698,7 +698,9 @@ namespace BizHawk.Client.EmuHawk
// ...but prepare haptics first, those get read in ProcessInput
var finalHostController = (ControllerInputCoalescer) InputManager.ControllerInputCoalescer;
// for now, vibrate the first gamepad when the Fast Forward hotkey is held, using the value from the previous (host) frame
#if false // waiting on https://github.com/TASVideos/BizHawk/pull/2683
InputManager.ActiveController.SetHapticChannelStrength("Debug", InputManager.ClientControls.IsPressed("Fast Forward") ? int.MaxValue : 0);
#endif
InputManager.ActiveController.PrepareHapticsForHost(finalHostController);
ProcessInput(
_hotkeyCoalescer,

View File

@ -236,6 +236,7 @@ namespace BizHawk.Client.EmuHawk
new AnalogBind("", 1.0f, 0.1f),
CreateAnalogPanel
);
#if false // waiting on https://github.com/TASVideos/BizHawk/pull/2683
LoadToPanel(
FeedbacksTab,
_emulator.ControllerDefinition.Name,
@ -244,6 +245,7 @@ namespace BizHawk.Client.EmuHawk
haptics,
new(string.Empty, string.Empty, 1.0f),
CreateFeedbacksPanel);
#endif
if (AnalogControlsTab.Controls.Count == 0)
{