// Copyright 2017 Dolphin Emulator Project // Licensed under GPLv2+ // Refer to the license.txt file included. #pragma once #include #include #include #include #include "Common/CommonTypes.h" #include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h" #include "InputCommon/ControllerEmu/ControllerEmu.h" #include "InputCommon/ControllerEmu/Setting/NumericSetting.h" namespace ControllerEmu { class PrimeHackModes : public ControlGroup { public: explicit PrimeHackModes(const std::string& name); int GetSelectedDevice() const; void SetSelectedDevice(int val); private: SettingValue m_selection_value; NumericSetting m_selection_setting = {&m_selection_value, {"PrimeHackMode"}, 0, 0, 1}; }; } // namespace ControllerEmu