mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
InputCommon: Allow Wii remote extension to be set with an input expression.
This commit is contained in:
@ -12,6 +12,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "InputCommon/ControllerEmu/ControlGroup/ControlGroup.h"
|
||||
#include "InputCommon/ControllerEmu/ControllerEmu.h"
|
||||
#include "InputCommon/ControllerEmu/Setting/NumericSetting.h"
|
||||
|
||||
namespace ControllerEmu
|
||||
{
|
||||
@ -27,11 +28,14 @@ public:
|
||||
u32 GetSelectedAttachment() const;
|
||||
void SetSelectedAttachment(u32 val);
|
||||
|
||||
NumericSetting<int>& GetSelectionSetting();
|
||||
|
||||
const std::vector<std::unique_ptr<EmulatedController>>& GetAttachmentList() const;
|
||||
|
||||
private:
|
||||
std::vector<std::unique_ptr<EmulatedController>> m_attachments;
|
||||
SettingValue<int> m_selection_value;
|
||||
NumericSetting<int> m_selection_setting = {&m_selection_value, {""}, 0, 0, 0};
|
||||
|
||||
std::atomic<u32> m_selected_attachment = {};
|
||||
std::vector<std::unique_ptr<EmulatedController>> m_attachments;
|
||||
};
|
||||
} // namespace ControllerEmu
|
||||
|
Reference in New Issue
Block a user