summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-07-26 12:52:33 +0200
committerGitHub <noreply@github.com>2022-07-26 12:52:33 +0200
commit9d15a1c5a1e6183a0e98165ac093e74ca8e4894e (patch)
treebb9806ee563adf38a74e55506f1e387e0bd08b72 /Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
parentc7752f80e4803362c58c03e0510680e95f4061c6 (diff)
parentd14bd10cd74ecfb9777e19dde842fe64d7681605 (diff)
Merge pull request #10858 from AdmiralCurtiss/mouse-center-hotkey
Add hotkey for centering mouse in render window.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
index 482bc37830..b07f6325c7 100644
--- a/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
+++ b/Source/Core/InputCommon/ControllerInterface/Xlib/XInput2.h
@@ -108,7 +108,7 @@ private:
private:
void SelectEventsForDevice(XIEventMask* mask, int deviceid);
- void UpdateCursor();
+ void UpdateCursor(bool should_center_mouse);
public:
void UpdateInput() override;