// Copyright Citra Emulator Project / Azahar Emulator Project // Licensed under GPLv2 or any later version // Refer to the license.txt file included. #pragma once #include namespace Settings { namespace Keys { #define DEFINE_KEY(KEY) static constexpr char KEY[] = #KEY; @SETTING_KEY_DEFINITIONS@ static const std::array keys_array = { @SETTING_KEY_LIST@ }; #undef DEFINE_KEY } namespace HKeys { #define DEFINE_KEY(KEY) static constexpr auto KEY = BOOST_HANA_STRING(#KEY); @SETTING_KEY_DEFINITIONS@ #undef DEFINE_KEY } }