summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorJames Rowe <jroweboy@gmail.com>2017-08-19 23:43:01 -0600
committerGitHub <noreply@github.com>2017-08-19 23:43:01 -0600
commitbbfa9d0635ce4b9226bed02ea1b6e8ddbb7e8a56 (patch)
tree5bfecf66096077d72346da902a9646314cb60631 /src/input_common/main.h
parent8afa81ac1bbb0ffb67faf87e9ee696145a40bb99 (diff)
parent54c0c8adee90d374e954e742d6d03279ef2e7ed7 (diff)
Merge pull request #2861 from wwylele/motion-refactor
Refactor MotionEmu into a InputDevice
Diffstat (limited to 'src/input_common/main.h')
-rw-r--r--src/input_common/main.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/input_common/main.h b/src/input_common/main.h
index e7fb3890e..5604f0fa8 100644
--- a/src/input_common/main.h
+++ b/src/input_common/main.h
@@ -19,6 +19,11 @@ class Keyboard;
/// Gets the keyboard button device factory.
Keyboard* GetKeyboard();
+class MotionEmu;
+
+/// Gets the motion emulation factory.
+MotionEmu* GetMotionEmu();
+
/// Generates a serialized param package for creating a keyboard button device
std::string GenerateKeyboardParam(int key_code);