Merge pull request #2861 from wwylele/motion-refactor
Refactor MotionEmu into a InputDevice
This commit is contained in:
commit
bbfa9d0635
20 changed files with 302 additions and 277 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue