Frontend: emulate motion sensor
This commit is contained in:
parent
6479f63091
commit
bcf9d20d57
9 changed files with 239 additions and 16 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue