fix init bug

This commit is contained in:
ZappoMan 2014-01-29 11:21:45 -08:00
parent b36cc0bcf9
commit 616cfac293
2 changed files with 9 additions and 0 deletions

View file

@ -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;

View file

@ -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)); }