Core: Add new Free Look settings and config

This commit is contained in:
iwubcode committed 2020-12-24 13:49:25 -06:00
1 parent f6ab9a9b6f
commit 27acba620c
12 files changed
+149 -2

No files matched your search

@@ -0,0 +1,21 @@
// Copyright 2020 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "Core/Config/FreeLookSettings.h"
#include "Core/FreeLookConfig.h"
#include <string>
#include "Common/Config/Config.h"
namespace Config
{
// Configuration Information
const Info<bool> FREE_LOOK_ENABLED{{System::FreeLook, "General", "Enabled"}, false};
// FreeLook.Controller1
const Info<FreeLook::ControlType> FL1_CONTROL_TYPE{{System::FreeLook, "Camera1", "ControlType"},
FreeLook::ControlType::SixAxis};
} // namespace Config
@@ -0,0 +1,23 @@
// Copyright 2020 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#pragma once
#include "Common/Config/Config.h"
namespace FreeLook
{
enum class ControlType : int;
}
namespace Config
{
// Configuration Information
extern const Info<bool> FREE_LOOK_ENABLED;
// FreeLook.Controller1
extern const Info<FreeLook::ControlType> FL1_CONTROL_TYPE;
} // namespace Config