mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +02:00
fix init bug
This commit is contained in:
parent
b36cc0bcf9
commit
616cfac293
2 changed files with 9 additions and 0 deletions
|
@ -10,6 +10,14 @@
|
|||
#include "Application.h"
|
||||
#include "ControllerScriptingInterface.h"
|
||||
|
||||
ControllerScriptingInterface::ControllerScriptingInterface() :
|
||||
_mouseCaptured(false),
|
||||
_touchCaptured(false),
|
||||
_wheelCaptured(false)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
const PalmData* ControllerScriptingInterface::getPrimaryPalm() const {
|
||||
int leftPalmIndex, rightPalmIndex;
|
||||
|
||||
|
|
|
@ -20,6 +20,7 @@ class ControllerScriptingInterface : public AbstractControllerScriptingInterface
|
|||
Q_OBJECT
|
||||
|
||||
public:
|
||||
ControllerScriptingInterface();
|
||||
void emitKeyPressEvent(QKeyEvent* event) { emit keyPressEvent(KeyEvent(*event)); }
|
||||
void emitKeyReleaseEvent(QKeyEvent* event) { emit keyReleaseEvent(KeyEvent(*event)); }
|
||||
|
||||
|
|
Loading…
Reference in a new issue