aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.h
diff options
context:
space:
mode:
authorgerman77 <juangerman-13@hotmail.com>2021-11-14 14:09:29 -0600
committerNarr the Reg <juangerman-13@hotmail.com>2021-11-24 20:30:28 -0600
commit654d76e79e84a3384fa503fac9003a5d0a32f28b (patch)
tree7a0d436a55aa73401d7b77bae4870c10ceca16cd /src/input_common/drivers/mouse.h
parentbca299e8e0489867f7d4bbfd264e221e7e61ae1e (diff)
core/hid: Fully implement native mouse
Diffstat (limited to 'src/input_common/drivers/mouse.h')
-rw-r--r--src/input_common/drivers/mouse.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.h
index 1be362b946..429502af9f 100644
--- a/src/input_common/drivers/mouse.h
+++ b/src/input_common/drivers/mouse.h
@@ -52,6 +52,13 @@ public:
*/
void ReleaseButton(MouseButton button);
+ /**
+ * Sets the status of the mouse wheel
+ * @param x delta movement in the x direction
+ * @param y delta movement in the y direction
+ */
+ void MouseWheelChange(int x, int y);
+
void ReleaseAllButtons();
std::vector<Common::ParamPackage> GetInputDevices() const override;