mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
Qt GCPadWiiU: standalone dialog, not subclass of MappingWidget
It uses none of the functionality of MappingWidget or the parent MappingWindow, and complicates the definition of the MappingWidget interface.
This commit is contained in:
parent
27e1577da9
commit
a8b5eab4c4
5 changed files with 32 additions and 53 deletions
|
@ -28,6 +28,7 @@
|
|||
#include "Core/IOS/IOS.h"
|
||||
#include "Core/IOS/USB/Bluetooth/BTReal.h"
|
||||
#include "Core/NetPlayProto.h"
|
||||
#include "DolphinQt2/Config/Mapping/GCPadWiiU.h"
|
||||
#include "DolphinQt2/Config/Mapping/MappingWindow.h"
|
||||
#include "DolphinQt2/Settings.h"
|
||||
#include "UICommon/UICommon.h"
|
||||
|
@ -417,8 +418,8 @@ void ControllersWindow::OnGCPadConfigure()
|
|||
type = MappingWindow::Type::MAPPING_GCPAD;
|
||||
break;
|
||||
case 2: // GameCube Adapter for Wii U
|
||||
type = MappingWindow::Type::MAPPING_GCPAD_WIIU;
|
||||
break;
|
||||
GCPadWiiU(index, this).exec();
|
||||
return;
|
||||
case 3: // Steering Wheel
|
||||
type = MappingWindow::Type::MAPPING_GC_STEERINGWHEEL;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue