mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
removed some debug
This commit is contained in:
parent
9d87d58723
commit
bcc7cfb15e
1 changed files with 0 additions and 5 deletions
|
@ -180,17 +180,12 @@ glm::vec3 ControllerScriptingInterface::getSpatialControlNormal(int controlIndex
|
|||
}
|
||||
|
||||
bool ControllerScriptingInterface::isKeyCaptured(QKeyEvent* event) const {
|
||||
qDebug() << "ControllerScriptingInterface::isKeyCaptured() event=" << event;
|
||||
return isKeyCaptured(KeyEvent(*event));
|
||||
}
|
||||
|
||||
bool ControllerScriptingInterface::isKeyCaptured(const KeyEvent& event) const {
|
||||
|
||||
qDebug() << "ControllerScriptingInterface::isKeyCaptured() event.key=" << event.key;
|
||||
|
||||
// if we've captured some combination of this key it will be in the map
|
||||
if (_capturedKeys.contains(event.key, event)) {
|
||||
qDebug() << "ControllerScriptingInterface::isKeyCaptured() event.key=" << event.key << " returning TRUE";
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue