mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-26 15:55:31 +01:00
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) ^ ```
This commit is contained in:
parent
f03fa54bcb
commit
c4bb452f2b
@ -178,6 +178,14 @@ static void DrawControlGroupBox(wxGraphicsContext* gc, ControlGroupBox* g)
|
|||||||
case ControllerEmu::GroupType::Cursor:
|
case ControllerEmu::GroupType::Cursor:
|
||||||
((ControllerEmu::Cursor*)g->control_group)->GetState(&x, &y, &z);
|
((ControllerEmu::Cursor*)g->control_group)->GetState(&x, &y, &z);
|
||||||
break;
|
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
|
// ir cursor forward movement
|
||||||
|
Loading…
x
Reference in New Issue
Block a user