mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Free Look: Add background input setting (disabled by default)
Before, Free Look would accept background input by default, which means it was easy to accidentally move the camera while typing in another window. (This is because HotkeyScheduler::Run sets the input gate to `true` after it's copied the hotkey state, supposedly for other threads (though `SetInputGate` uses a `thread_local` variable so I'm not 100% sure that's correct) and for the GBA windows (which always accept unfocused input, presumably because they won't be focused normally).
This commit is contained in:
parent
5663a44962
commit
25aa30ac69
5 changed files with 23 additions and 0 deletions
|
@ -6,6 +6,7 @@
|
|||
#include <QWidget>
|
||||
|
||||
class GraphicsChoice;
|
||||
class QCheckBox;
|
||||
class QPushButton;
|
||||
class ToolTipCheckBox;
|
||||
|
||||
|
@ -26,4 +27,5 @@ private:
|
|||
ToolTipCheckBox* m_enable_freelook;
|
||||
GraphicsChoice* m_freelook_control_type;
|
||||
QPushButton* m_freelook_controller_configure_button;
|
||||
QCheckBox* m_freelook_background_input;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue