diff options
| author | 2023-06-30 18:39:55 -0600 | |
|---|---|---|
| committer | 2023-06-30 18:59:39 -0600 | |
| commit | da8df6488dbdd164a5b5d00a2e230e4d9550c533 (patch) | |
| tree | b555be0331977adbae1a0ef29607c0bd3858b0d7 /src/input_common/drivers/mouse.h | |
| parent | input_common: Tune mouse controls (diff) | |
| download | yuzu-da8df6488dbdd164a5b5d00a2e230e4d9550c533.tar.gz yuzu-da8df6488dbdd164a5b5d00a2e230e4d9550c533.tar.xz yuzu-da8df6488dbdd164a5b5d00a2e230e4d9550c533.zip | |
yuzu: Ensure mouse panning can't be enabled with real mouse emulation
Diffstat (limited to 'src/input_common/drivers/mouse.h')
| -rw-r--r-- | src/input_common/drivers/mouse.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.h index 0e8edcce1..2b93a40b9 100644 --- a/src/input_common/drivers/mouse.h +++ b/src/input_common/drivers/mouse.h | |||
| @@ -99,6 +99,8 @@ private: | |||
| 99 | void UpdateStickInput(); | 99 | void UpdateStickInput(); |
| 100 | void UpdateMotionInput(); | 100 | void UpdateMotionInput(); |
| 101 | 101 | ||
| 102 | bool IsMousePanningEnabled(); | ||
| 103 | |||
| 102 | Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; | 104 | Common::Input::ButtonNames GetUIButtonName(const Common::ParamPackage& params) const; |
| 103 | 105 | ||
| 104 | Common::Vec2<int> mouse_origin; | 106 | Common::Vec2<int> mouse_origin; |