diff options
| author | 2021-11-14 21:28:38 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:28 -0600 | |
| commit | f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149 (patch) | |
| tree | 9e9f9114d9b7528e74e78102279411595632f048 /src/core/hid/input_converter.cpp | |
| parent | core/hid: Fully implement native mouse (diff) | |
| download | yuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.tar.gz yuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.tar.xz yuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.zip | |
core/hid: Improve accuary of mouse implementation
Diffstat (limited to 'src/core/hid/input_converter.cpp')
| -rw-r--r-- | src/core/hid/input_converter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cpp index c4e653956..f5acff6e0 100644 --- a/src/core/hid/input_converter.cpp +++ b/src/core/hid/input_converter.cpp | |||
| @@ -175,6 +175,10 @@ Common::Input::TouchStatus TransformToTouch(const Common::Input::CallbackStatus& | |||
| 175 | case Common::Input::InputType::Touch: | 175 | case Common::Input::InputType::Touch: |
| 176 | status = callback.touch_status; | 176 | status = callback.touch_status; |
| 177 | break; | 177 | break; |
| 178 | case Common::Input::InputType::Stick: | ||
| 179 | status.x = callback.stick_status.x; | ||
| 180 | status.y = callback.stick_status.y; | ||
| 181 | break; | ||
| 178 | default: | 182 | default: |
| 179 | LOG_ERROR(Input, "Conversion from type {} to touch not implemented", callback.type); | 183 | LOG_ERROR(Input, "Conversion from type {} to touch not implemented", callback.type); |
| 180 | break; | 184 | break; |