summaryrefslogtreecommitdiff
path: root/src/input_common/drivers/mouse.h
diff options
context:
space:
mode:
authorGravatar german772021-11-14 14:09:29 -0600
committerGravatar Narr the Reg2021-11-24 20:30:28 -0600
commit654d76e79e84a3384fa503fac9003a5d0a32f28b (patch)
tree7a0d436a55aa73401d7b77bae4870c10ceca16cd /src/input_common/drivers/mouse.h
parentinput_common: Allow keyboard to be backwards compatible (diff)
downloadyuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.tar.gz
yuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.tar.xz
yuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.zip
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 1be362b94..429502af9 100644
--- a/src/input_common/drivers/mouse.h
+++ b/src/input_common/drivers/mouse.h
@@ -52,6 +52,13 @@ public:
52 */ 52 */
53 void ReleaseButton(MouseButton button); 53 void ReleaseButton(MouseButton button);
54 54
55 /**
56 * Sets the status of the mouse wheel
57 * @param x delta movement in the x direction
58 * @param y delta movement in the y direction
59 */
60 void MouseWheelChange(int x, int y);
61
55 void ReleaseAllButtons(); 62 void ReleaseAllButtons();
56 63
57 std::vector<Common::ParamPackage> GetInputDevices() const override; 64 std::vector<Common::ParamPackage> GetInputDevices() const override;