mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 09:29: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 "Application.h"
|
||||||
#include "ControllerScriptingInterface.h"
|
#include "ControllerScriptingInterface.h"
|
||||||
|
|
||||||
|
ControllerScriptingInterface::ControllerScriptingInterface() :
|
||||||
|
_mouseCaptured(false),
|
||||||
|
_touchCaptured(false),
|
||||||
|
_wheelCaptured(false)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
const PalmData* ControllerScriptingInterface::getPrimaryPalm() const {
|
const PalmData* ControllerScriptingInterface::getPrimaryPalm() const {
|
||||||
int leftPalmIndex, rightPalmIndex;
|
int leftPalmIndex, rightPalmIndex;
|
||||||
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ class ControllerScriptingInterface : public AbstractControllerScriptingInterface
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
ControllerScriptingInterface();
|
||||||
void emitKeyPressEvent(QKeyEvent* event) { emit keyPressEvent(KeyEvent(*event)); }
|
void emitKeyPressEvent(QKeyEvent* event) { emit keyPressEvent(KeyEvent(*event)); }
|
||||||
void emitKeyReleaseEvent(QKeyEvent* event) { emit keyReleaseEvent(KeyEvent(*event)); }
|
void emitKeyReleaseEvent(QKeyEvent* event) { emit keyReleaseEvent(KeyEvent(*event)); }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue