From 63078b55e1c41b8bb2f44030247d744bba240919 Mon Sep 17 00:00:00 2001 From: CasualPokePlayer <50538166+CasualPokePlayer@users.noreply.github.com> Date: Wed, 16 Feb 2022 03:50:35 -0800 Subject: [PATCH] put dummy implementations for haptics in bk2 controller, fixes #3146 --- src/BizHawk.Client.Common/movie/bk2/Bk2Controller.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Client.Common/movie/bk2/Bk2Controller.cs b/src/BizHawk.Client.Common/movie/bk2/Bk2Controller.cs index db66dce95e..b549dd1f09 100755 --- a/src/BizHawk.Client.Common/movie/bk2/Bk2Controller.cs +++ b/src/BizHawk.Client.Common/movie/bk2/Bk2Controller.cs @@ -49,9 +49,9 @@ namespace BizHawk.Client.Common public bool IsPressed(string button) => _myBoolButtons[button]; public int AxisValue(string name) => _myAxisControls[name]; - public IReadOnlyCollection<(string Name, int Strength)> GetHapticsSnapshot() => throw new NotImplementedException(); // no idea --yoshi + public IReadOnlyCollection<(string Name, int Strength)> GetHapticsSnapshot() => Array.Empty<(string, int)>(); - public void SetHapticChannelStrength(string name, int strength) => throw new NotImplementedException(); // no idea --yoshi + public void SetHapticChannelStrength(string name, int strength) {} public void SetFrom(IController source) {