diff options
| author | 2021-11-14 14:09:29 -0600 | |
|---|---|---|
| committer | 2021-11-24 20:30:28 -0600 | |
| commit | 654d76e79e84a3384fa503fac9003a5d0a32f28b (patch) | |
| tree | 7a0d436a55aa73401d7b77bae4870c10ceca16cd /src/input_common/drivers/mouse.h | |
| parent | input_common: Allow keyboard to be backwards compatible (diff) | |
| download | yuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.tar.gz yuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.tar.xz yuzu-654d76e79e84a3384fa503fac9003a5d0a32f28b.zip | |
core/hid: Fully implement native mouse
Diffstat (limited to '')
| -rw-r--r-- | src/input_common/drivers/mouse.h | 7 |
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; |