summaryrefslogtreecommitdiff
path: root/src/core/hid/emulated_devices.h
diff options
context:
space:
mode:
authorGravatar german772021-11-14 21:28:38 -0600
committerGravatar Narr the Reg2021-11-24 20:30:28 -0600
commitf4e5f89e6fb9d68cd4ba7d98c281584c50f0e149 (patch)
tree9e9f9114d9b7528e74e78102279411595632f048 /src/core/hid/emulated_devices.h
parentcore/hid: Fully implement native mouse (diff)
downloadyuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.tar.gz
yuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.tar.xz
yuzu-f4e5f89e6fb9d68cd4ba7d98c281584c50f0e149.zip
core/hid: Improve accuary of mouse implementation
Diffstat (limited to 'src/core/hid/emulated_devices.h')
-rw-r--r--src/core/hid/emulated_devices.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.h
index 49edfd255..05a945d08 100644
--- a/src/core/hid/emulated_devices.h
+++ b/src/core/hid/emulated_devices.h
@@ -38,7 +38,7 @@ using MouseButtonValues =
38 std::array<Common::Input::ButtonStatus, Settings::NativeMouseButton::NumMouseButtons>; 38 std::array<Common::Input::ButtonStatus, Settings::NativeMouseButton::NumMouseButtons>;
39using MouseAnalogValues = 39using MouseAnalogValues =
40 std::array<Common::Input::AnalogStatus, Settings::NativeMouseWheel::NumMouseWheels>; 40 std::array<Common::Input::AnalogStatus, Settings::NativeMouseWheel::NumMouseWheels>;
41using MouseStickValue = Common::Input::StickStatus; 41using MouseStickValue = Common::Input::TouchStatus;
42 42
43struct MousePosition { 43struct MousePosition {
44 f32 x; 44 f32 x;
@@ -130,7 +130,7 @@ public:
130 MousePosition GetMousePosition() const; 130 MousePosition GetMousePosition() const;
131 131
132 /// Returns the latest mouse wheel change 132 /// Returns the latest mouse wheel change
133 AnalogStickState GetMouseDeltaWheel() const; 133 AnalogStickState GetMouseWheel() const;
134 134
135 /** 135 /**
136 * Adds a callback to the list of events 136 * Adds a callback to the list of events