// // KeyboardScriptingInterface.cpp // interface/src/scripting // // Created by Dante Ruiz on 2018-08-27. // Copyright 2017 High Fidelity, Inc. // // Distributed under the Apache License, Version 2.0. // See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html // #include "KeyboardScriptingInterface.h" #include "ui/Keyboard.h" bool KeyboardScriptingInterface::isRaised() const { return DependencyManager::get()->isRaised(); } void KeyboardScriptingInterface::setRaised(bool raised) { DependencyManager::get()->setRaised(raised); } bool KeyboardScriptingInterface::isPassword() const { return DependencyManager::get()->isPassword(); } void KeyboardScriptingInterface::setPassword(bool password) { DependencyManager::get()->setPassword(password); } void KeyboardScriptingInterface::loadKeyboardFile(const QString& keyboardFile) { DependencyManager::get()->loadKeyboardFile(keyboardFile); } bool KeyboardScriptingInterface::getUse3DKeyboard() const { return DependencyManager::get()->getUse3DKeyboard(); } void KeyboardScriptingInterface::disableRightMallet() { DependencyManager::get()->disableRightMallet(); } void KeyboardScriptingInterface::disableLeftMallet() { DependencyManager::get()->disableLeftMallet(); } void KeyboardScriptingInterface::enableRightMallet() { DependencyManager::get()->enableRightMallet(); } void KeyboardScriptingInterface::enableLeftMallet() { DependencyManager::get()->enableLeftMallet(); } void KeyboardScriptingInterface::setLeftHandLaser(unsigned int leftHandLaser) { DependencyManager::get()->setLeftHandLaser(leftHandLaser); } void KeyboardScriptingInterface::setRightHandLaser(unsigned int rightHandLaser) { DependencyManager::get()->setRightHandLaser(rightHandLaser); } bool KeyboardScriptingInterface::getPreferMalletsOverLasers() const { return DependencyManager::get()->getPreferMalletsOverLasers(); } bool KeyboardScriptingInterface::containsID(const QUuid& id) const { return DependencyManager::get()->containsID(id); }