mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-25 23:41:19 +01:00
GCKeyboardEmu: Eliminate unused Options group.
This commit is contained in:
parent
dca51f3ab0
commit
296959ec58
@ -75,9 +75,6 @@ GCKeyboard::GCKeyboard(const unsigned int index) : m_index(index)
|
|||||||
groups.emplace_back(m_keys5x = new ControllerEmu::Buttons(_trans("Keys")));
|
groups.emplace_back(m_keys5x = new ControllerEmu::Buttons(_trans("Keys")));
|
||||||
for (const char* key : named_keys5)
|
for (const char* key : named_keys5)
|
||||||
m_keys5x->AddInput(ControllerEmu::DoNotTranslate, key);
|
m_keys5x->AddInput(ControllerEmu::DoNotTranslate, key);
|
||||||
|
|
||||||
// options
|
|
||||||
groups.emplace_back(m_options = new ControllerEmu::ControlGroup(_trans("Options")));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string GCKeyboard::GetName() const
|
std::string GCKeyboard::GetName() const
|
||||||
@ -101,8 +98,6 @@ ControllerEmu::ControlGroup* GCKeyboard::GetGroup(KeyboardGroup group)
|
|||||||
return m_keys4x;
|
return m_keys4x;
|
||||||
case KeyboardGroup::Kb5x:
|
case KeyboardGroup::Kb5x:
|
||||||
return m_keys5x;
|
return m_keys5x;
|
||||||
case KeyboardGroup::Options:
|
|
||||||
return m_options;
|
|
||||||
default:
|
default:
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
@ -23,8 +23,6 @@ enum class KeyboardGroup
|
|||||||
Kb3x,
|
Kb3x,
|
||||||
Kb4x,
|
Kb4x,
|
||||||
Kb5x,
|
Kb5x,
|
||||||
|
|
||||||
Options
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class GCKeyboard : public ControllerEmu::EmulatedController
|
class GCKeyboard : public ControllerEmu::EmulatedController
|
||||||
@ -43,7 +41,6 @@ private:
|
|||||||
ControllerEmu::Buttons* m_keys3x;
|
ControllerEmu::Buttons* m_keys3x;
|
||||||
ControllerEmu::Buttons* m_keys4x;
|
ControllerEmu::Buttons* m_keys4x;
|
||||||
ControllerEmu::Buttons* m_keys5x;
|
ControllerEmu::Buttons* m_keys5x;
|
||||||
ControllerEmu::ControlGroup* m_options;
|
|
||||||
|
|
||||||
const unsigned int m_index;
|
const unsigned int m_index;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user