summaryrefslogtreecommitdiff
path: root/src/input_common/main.h
diff options
context:
space:
mode:
authorwwylele <wwylele@gmail.com>2017-08-07 00:04:06 +0300
committerwwylele <wwylele@gmail.com>2017-08-11 11:05:08 +0300
commit188194908c2785bd1e03485941b9148777cdddd7 (patch)
treeab6cd04195f5e18bd1e7dd21a7c2896066827a6f /src/input_common/main.h
parent867eabd6b7effc8ba6c21d7fcbd0480b14f81ad0 (diff)
move MotionEmu from core/frontend to input_common as 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 140bbd014..74283f7c6 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);