diff options
| author | 2023-02-18 16:25:48 -0500 | |
|---|---|---|
| committer | 2023-02-18 16:25:48 -0500 | |
| commit | e531d1fae986addc7253e14bcc569c38ab50ccb0 (patch) | |
| tree | 82b68c763271ac1d15112a536136f7462cacadfb /src/core/hid/emulated_console.cpp | |
| parent | Merge pull request #9825 from liamwhite/object-name (diff) | |
| parent | input_common: Split mouse input into individual devices (diff) | |
| download | yuzu-e531d1fae986addc7253e14bcc569c38ab50ccb0.tar.gz yuzu-e531d1fae986addc7253e14bcc569c38ab50ccb0.tar.xz yuzu-e531d1fae986addc7253e14bcc569c38ab50ccb0.zip | |
Merge pull request #9815 from german77/qt-mouse
Qt: Fix mouse scalling
Diffstat (limited to 'src/core/hid/emulated_console.cpp')
| -rw-r--r-- | src/core/hid/emulated_console.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cpp index 1c91bbe40..17d663379 100644 --- a/src/core/hid/emulated_console.cpp +++ b/src/core/hid/emulated_console.cpp | |||
| @@ -23,7 +23,8 @@ void EmulatedConsole::SetTouchParams() { | |||
| 23 | 23 | ||
| 24 | // We can't use mouse as touch if native mouse is enabled | 24 | // We can't use mouse as touch if native mouse is enabled |
| 25 | if (!Settings::values.mouse_enabled) { | 25 | if (!Settings::values.mouse_enabled) { |
| 26 | touch_params[index++] = Common::ParamPackage{"engine:mouse,axis_x:10,axis_y:11,button:0"}; | 26 | touch_params[index++] = |
| 27 | Common::ParamPackage{"engine:mouse,axis_x:0,axis_y:1,button:0,port:2"}; | ||
| 27 | } | 28 | } |
| 28 | 29 | ||
| 29 | touch_params[index++] = | 30 | touch_params[index++] = |