DolphinQt/Mapping: Clear and skip "Modifier" iterative input mappings when using

analog inputs.
This commit is contained in:
Jordan Woyak
2025-02-07 00:36:52 -06:00
parent 3189de6c7a
commit 66624abb12
4 changed files with 72 additions and 23 deletions

View File

@ -15,9 +15,17 @@ class MappingButton : public ElidedButton
{
Q_OBJECT
public:
MappingButton(MappingWidget* widget, ControlReference* ref);
enum class ControlType
{
NormalInput,
ModifierInput,
Output,
};
MappingButton(MappingWidget* widget, ControlReference* ref, ControlType type);
ControlReference* GetControlReference();
ControlType GetControlType() const;
signals:
void ConfigChanged();
@ -32,4 +40,5 @@ private:
MappingWindow* const m_mapping_window;
ControlReference* const m_reference;
const ControlType m_control_type;
};