From 296959ec58a54a08195bf5e91d8f7ab618db58ed Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Thu, 10 Nov 2022 21:09:34 -0600 Subject: [PATCH] GCKeyboardEmu: Eliminate unused Options group. --- Source/Core/Core/HW/GCKeyboardEmu.cpp | 5 ----- Source/Core/Core/HW/GCKeyboardEmu.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/Source/Core/Core/HW/GCKeyboardEmu.cpp b/Source/Core/Core/HW/GCKeyboardEmu.cpp index 2322977fff..aace009503 100644 --- a/Source/Core/Core/HW/GCKeyboardEmu.cpp +++ b/Source/Core/Core/HW/GCKeyboardEmu.cpp @@ -75,9 +75,6 @@ GCKeyboard::GCKeyboard(const unsigned int index) : m_index(index) groups.emplace_back(m_keys5x = new ControllerEmu::Buttons(_trans("Keys"))); for (const char* key : named_keys5) m_keys5x->AddInput(ControllerEmu::DoNotTranslate, key); - - // options - groups.emplace_back(m_options = new ControllerEmu::ControlGroup(_trans("Options"))); } std::string GCKeyboard::GetName() const @@ -101,8 +98,6 @@ ControllerEmu::ControlGroup* GCKeyboard::GetGroup(KeyboardGroup group) return m_keys4x; case KeyboardGroup::Kb5x: return m_keys5x; - case KeyboardGroup::Options: - return m_options; default: return nullptr; } diff --git a/Source/Core/Core/HW/GCKeyboardEmu.h b/Source/Core/Core/HW/GCKeyboardEmu.h index 492e8e77c4..17ffe82baa 100644 --- a/Source/Core/Core/HW/GCKeyboardEmu.h +++ b/Source/Core/Core/HW/GCKeyboardEmu.h @@ -23,8 +23,6 @@ enum class KeyboardGroup Kb3x, Kb4x, Kb5x, - - Options }; class GCKeyboard : public ControllerEmu::EmulatedController @@ -43,7 +41,6 @@ private: ControllerEmu::Buttons* m_keys3x; ControllerEmu::Buttons* m_keys4x; ControllerEmu::Buttons* m_keys5x; - ControllerEmu::ControlGroup* m_options; const unsigned int m_index; };