summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMichael Maltese <michaeljosephmaltese@gmail.com>2017-03-21 23:39:09 -0700
committerMichael Maltese <michaeljosephmaltese@gmail.com>2017-03-22 13:00:54 -0700
commitc4bb452f2b9705422f70cb90ae2e2945d547e1c0 (patch)
treeb1a5f6162e502050c06f867f91c6e1f8e0f0cdb3 /Source
parentf03fa54bcbe5b47b22d3731a2f5dab3d9a7bf3f9 (diff)
InputConfigDiagBitmaps: add switch empty cases (fixes warning)
Fixes warning: ``` dolphin/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp:170:13: warning: 7 enumeration values not handled in switch: 'Other', 'MixedTriggers', 'Buttons'... [-Wswitch] switch (g->control_group->type) ^ ```
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp b/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp
index caf2fb6b44..0b25d685ef 100644
--- a/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp
+++ b/Source/Core/DolphinWX/Input/InputConfigDiagBitmaps.cpp
@@ -178,6 +178,14 @@ static void DrawControlGroupBox(wxGraphicsContext* gc, ControlGroupBox* g)
case ControllerEmu::GroupType::Cursor:
((ControllerEmu::Cursor*)g->control_group)->GetState(&x, &y, &z);
break;
+ case ControllerEmu::GroupType::Other:
+ case ControllerEmu::GroupType::MixedTriggers:
+ case ControllerEmu::GroupType::Buttons:
+ case ControllerEmu::GroupType::Force:
+ case ControllerEmu::GroupType::Extension:
+ case ControllerEmu::GroupType::Triggers:
+ case ControllerEmu::GroupType::Slider:
+ break;
}
// ir cursor forward movement