mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 21:30:19 -06:00
DolphinQt/Mapping: Clear and skip "Modifier" iterative input mappings when using
analog inputs.
This commit is contained in:
@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user