aboutsummaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorgerman <german@thesoftwareartisans.com>2020-09-04 21:35:42 -0500
committergerman <german@thesoftwareartisans.com>2020-09-04 21:48:13 -0500
commit82eb4be33bfe5c3966ff2eda56c0f7c03c7e4f6a (patch)
treeca91a7ca7ac7861ae48c5456870eee425fc8c209 /src/input_common/main.h
parent17b48f8d42ef8ad3f41c5cf943c07e895b4eaa5e (diff)
Add cemu hook changes related to PR #4609
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index 18f44dcc35..dded3f1efb 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -54,6 +54,8 @@ public:
class GCAnalogFactory;
class GCButtonFactory;
+class UDPMotionFactory;
+class UDPTouchFactory;
class Keyboard;
class MotionEmu;
@@ -123,6 +125,18 @@ public:
/// Retrieves the underlying GameCube button handler.
[[nodiscard]] const GCButtonFactory* GetGCButtons() const;
+ /// Retrieves the underlying udp motion handler.
+ [[nodiscard]] UDPMotionFactory* GetUDPMotions();
+
+ /// Retrieves the underlying udp motion handler.
+ [[nodiscard]] const UDPMotionFactory* GetUDPMotions() const;
+
+ /// Retrieves the underlying udp touch handler.
+ [[nodiscard]] UDPTouchFactory* GetUDPTouch();
+
+ /// Retrieves the underlying udp touch handler.
+ [[nodiscard]] const UDPTouchFactory* GetUDPTouch() const;
+
/// Reloads the input devices
void ReloadInputDevices();