mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-13 11:24:41 +02:00
DolphinQt: update FreeLook to use relative input
This commit is contained in:
@@ -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