DolphinQt: update FreeLook to use relative input
This commit is contained in:
1 parent
ddba5a3dfa
commit
f1ce921844
2 files changed
+5
-2
No files matched your search
@@ -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++)
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <QObject>
|
||||
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/Flag.h"
|
||||
#include "InputCommon/InputProfile.h"
|
||||
|
||||
|
||||
Reference in new issue
Block a user