Added functionality to print all keybindings to file when a scene is loaded

This commit is contained in:
Alexander Bock
2016-07-14 00:28:09 -04:00
parent b9237cb787
commit dc32dfe075
7 changed files with 47 additions and 3 deletions

View File

@@ -61,6 +61,10 @@ public:
static const std::string KeyPropertyDocumentationType;
/// The key that stores the save location of the Property documentation
static const std::string KeyPropertyDocumentationFile;
/// The key that stores the type of keyboard bindings that should be stored
static const std::string KeyKeyboardShortcutsType;
/// The key that stores the save location of the keyboard bindings file
static const std::string KeyKeyboardShortcutsFile;
/// The key that stores the location of the scene file that is initially loaded
static const std::string KeyConfigScene;
/// The key that stores the subdirectory containing a list of all startup scripts to

View File

@@ -109,6 +109,7 @@ public:
void distanceDelta(const PowerScaledScalar& distance, size_t iterations = 0);
void lookAt(const glm::quat& rotation);
void setRotation(const glm::quat& rotation);
private:
// Remove copy and move constructors
@@ -349,6 +350,8 @@ public:
void mousePositionCallback(double x, double y);
void mouseScrollWheelCallback(double pos);
void writeKeyboardDocumentation(const std::string& type, const std::string& file);
private:
void setInteractionMode(std::shared_ptr<InteractionMode> interactionMode);