From db4b4e40cb5c9d00940cdb76478b632804cdf244 Mon Sep 17 00:00:00 2001 From: iwubcode Date: Mon, 20 Apr 2020 23:16:07 -0500 Subject: InputCommon / DolphinQt / Core: Add a "RelativeMouse" input which provides the raw delta mouse input Co-authored-by: Jordan Woyak --- Source/Core/InputCommon/ControllerInterface/CoreDevice.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h') diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h index 2612f59627..c368578949 100644 --- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h +++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h @@ -93,6 +93,12 @@ public: virtual bool IsChild(const Input*) const { return false; } }; + class RelativeInput : public Input + { + public: + bool IsDetectable() const override { return false; } + }; + // // Output // -- cgit v1.2.3