summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2020-04-20 23:16:07 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2021-03-17 20:58:33 -0500
commitdb4b4e40cb5c9d00940cdb76478b632804cdf244 (patch)
treeed9ba12bcc60ec1a34a72ada599853115b6c91d8 /Source/Core/InputCommon/ControllerInterface/CoreDevice.h
parent679d51c2898b99c24ad904e891781a147b2f6667 (diff)
InputCommon / DolphinQt / Core: Add a "RelativeMouse" input which provides the raw delta mouse input
Co-authored-by: Jordan Woyak <jordan.woyak@gmail.com>
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.h6
1 files changed, 6 insertions, 0 deletions
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
//