diff options
| author | 2017-08-07 00:04:06 +0300 | |
|---|---|---|
| committer | 2017-08-11 11:05:08 +0300 | |
| commit | 188194908c2785bd1e03485941b9148777cdddd7 (patch) | |
| tree | ab6cd04195f5e18bd1e7dd21a7c2896066827a6f /src/input_common/main.h | |
| parent | HID: use MotionDevice for Accelerometer and Gyroscope (diff) | |
| download | yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.gz yuzu-188194908c2785bd1e03485941b9148777cdddd7.tar.xz yuzu-188194908c2785bd1e03485941b9148777cdddd7.zip | |
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.h | 5 |
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; | |||
| 19 | /// Gets the keyboard button device factory. | 19 | /// Gets the keyboard button device factory. |
| 20 | Keyboard* GetKeyboard(); | 20 | Keyboard* GetKeyboard(); |
| 21 | 21 | ||
| 22 | class MotionEmu; | ||
| 23 | |||
| 24 | /// Gets the motion emulation factory. | ||
| 25 | MotionEmu* GetMotionEmu(); | ||
| 26 | |||
| 22 | /// Generates a serialized param package for creating a keyboard button device | 27 | /// Generates a serialized param package for creating a keyboard button device |
| 23 | std::string GenerateKeyboardParam(int key_code); | 28 | std::string GenerateKeyboardParam(int key_code); |
| 24 | 29 | ||