mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
missed a brace
This commit is contained in:
parent
8928854820
commit
90cd335bda
1 changed files with 2 additions and 1 deletions
|
@ -92,7 +92,7 @@ public:
|
|||
virtual QOpenGLContext* getPrimaryContext() override { return nullptr; }
|
||||
virtual ui::Menu* getPrimaryMenu() override { return nullptr; }
|
||||
virtual bool isForeground() const override { return true; }
|
||||
virtual DisplayPluginPointer getActiveDisplayPlugin() const override { return DisplayPluginPointer(); }
|
||||
virtual DisplayPluginPointer getActiveDisplayPlugin() const override { return DisplayPluginPointer(); }
|
||||
};
|
||||
|
||||
class MyControllerScriptingInterface : public controller::ScriptingInterface {
|
||||
|
@ -144,6 +144,7 @@ int main(int argc, char** argv) {
|
|||
auto userInputMapper = DependencyManager::get<controller::UserInputMapper>();
|
||||
if (name == KeyboardMouseDevice::NAME) {
|
||||
userInputMapper->registerDevice(std::dynamic_pointer_cast<KeyboardMouseDevice>(inputPlugin)->getInputDevice());
|
||||
}
|
||||
if (name == TouchscreenDevice::NAME) {
|
||||
userInputMapper->registerDevice(std::dynamic_pointer_cast<TouchscreenDevice>(inputPlugin)->getInputDevice());
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue