Add the ability to configure the Console key through the openspace.cfg (closes #2573)

This commit is contained in:
Alexander Bock
2023-04-03 10:53:09 +02:00
parent 379a050bc0
commit 0e2d5e245d
6 changed files with 32 additions and 4 deletions

View File

@@ -25,6 +25,7 @@
#ifndef __OPENSPACE_CORE___CONFIGURATION___H__
#define __OPENSPACE_CORE___CONFIGURATION___H__
#include <openspace/util/keys.h>
#include <ghoul/lua/luastate.h>
#include <ghoul/misc/dictionary.h>
#include <filesystem>
@@ -91,6 +92,8 @@ struct Configuration {
bool isLoggingOpenGLCalls = false;
bool isPrintingEvents = false;
Key consoleKey = Key::GraveAccent;
float shutdownCountdown = 0.f;
bool shouldUseScreenshotDate = false;