Frontend: emulate motion sensor

This commit is contained in:
wwylele 2016-12-11 23:32:41 +02:00
parent 6479f63091
commit bcf9d20d57
9 changed files with 239 additions and 16 deletions

View file

@ -11,6 +11,7 @@
#include <QThread>
#include "common/thread.h"
#include "core/frontend/emu_window.h"
#include "core/frontend/motion_emu.h"
class QKeyEvent;
class QScreen;
@ -156,6 +157,9 @@ private:
EmuThread* emu_thread;
/// Motion sensors emulation
std::unique_ptr<Motion::MotionEmu> motion_emu;
protected:
void showEvent(QShowEvent* event) override;
};