summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2021-04-01 01:05:00 -0400
committerGitHub <noreply@github.com>2021-04-01 01:05:00 -0400
commitce8e87c64b271b13a30fbc898b59427d28876a81 (patch)
tree969b78c3ba230a74bfc9d953427a65bfd4f50bed /Source/Core/InputCommon/ControllerInterface/CoreDevice.h
parent06439a2d40a06179633301e91ee85fa3059506fa (diff)
parent28e880efb628598090c715a7783a8dcbbbf18d50 (diff)
Merge pull request #8747 from iwubcode/map-freelook
Support controlling Free Look via input bindings (motion controls, gamepad, etc!)
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
//