mirror of
https://github.com/Retropex/dolphin.git
synced 2025-05-15 04:40:44 +02:00
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
// Copyright 2017 Dolphin Emulator Project
|
|
// Licensed under GPLv2+
|
|
// Refer to the license.txt file included.
|
|
|
|
#include "InputCommon/ControllerEmu/ControlGroup/PrimeHackButtons.h"
|
|
|
|
#include <cstddef>
|
|
#include <memory>
|
|
#include <string>
|
|
#include <utility>
|
|
|
|
#include "Common/Common.h"
|
|
#include "InputCommon/ControlReference/ControlReference.h"
|
|
#include "InputCommon/ControllerEmu/Control/Control.h"
|
|
#include "InputCommon/ControllerEmu/Control/Input.h"
|
|
#include "InputCommon/ControllerEmu/Setting/NumericSetting.h"
|
|
#include "VideoCommon/OnScreenDisplay.h"
|
|
|
|
namespace ControllerEmu
|
|
{
|
|
PrimeHackButtons::PrimeHackButtons(const std::string& ini_name, const std::string& group_name)
|
|
: ControlGroup(ini_name, group_name, GroupType::PrimeHack)
|
|
{
|
|
}
|
|
|
|
PrimeHackButtons::PrimeHackButtons(const std::string& name_) : PrimeHackButtons(name_, name_)
|
|
{
|
|
}
|
|
|
|
void PrimeHackButtons::AddInput(std::string button_name, bool toggle)
|
|
{
|
|
//controls.emplace_back(std::make_unique<Input>(Translate, std::move(button_name)));
|
|
//threshold_exceeded.emplace_back(false);
|
|
//associated_settings.emplace_back(false);
|
|
//associated_settings_toggle.emplace_back(toggle);
|
|
}
|
|
} // namespace ControllerEmu
|