DolphinQt: update FreeLook to use relative input

This commit is contained in:
iwubcode
2021-03-17 20:58:33 -05:00
parent ddba5a3dfa
commit f1ce921844
2 changed files with 5 additions and 2 deletions
+4 -2
View File
@@ -141,6 +141,10 @@ void HotkeyScheduler::Run()
{
Common::SleepCurrentThread(1000 / 60);
g_controller_interface.SetCurrentInputChannel(ciface::InputChannel::FreeLook);
g_controller_interface.UpdateInput();
FreeLook::UpdateInput();
g_controller_interface.SetCurrentInputChannel(ciface::InputChannel::Host);
g_controller_interface.UpdateInput();
@@ -546,8 +550,6 @@ void HotkeyScheduler::Run()
OSD::AddMessage(StringFromFormat("Free Look: %s", new_value ? "Enabled" : "Disabled"));
}
FreeLook::UpdateInput();
// Savestates
for (u32 i = 0; i < State::NUM_STATES; i++)
{
+1
View File
@@ -8,6 +8,7 @@
#include <QObject>
#include "Common/CommonTypes.h"
#include "Common/Flag.h"
#include "InputCommon/InputProfile.h"