mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Qt: GBA Pad config
This commit is contained in:
@ -23,6 +23,7 @@
|
||||
|
||||
#include "DolphinQt/Config/Mapping/FreeLookGeneral.h"
|
||||
#include "DolphinQt/Config/Mapping/FreeLookRotation.h"
|
||||
#include "DolphinQt/Config/Mapping/GBAPadEmu.h"
|
||||
#include "DolphinQt/Config/Mapping/GCKeyboardEmu.h"
|
||||
#include "DolphinQt/Config/Mapping/GCMicrophone.h"
|
||||
#include "DolphinQt/Config/Mapping/GCPadEmu.h"
|
||||
@ -374,10 +375,15 @@ void MappingWindow::SetMappingType(MappingWindow::Type type)
|
||||
|
||||
switch (type)
|
||||
{
|
||||
case Type::MAPPING_GC_GBA:
|
||||
widget = new GBAPadEmu(this);
|
||||
setWindowTitle(tr("GameBoy Advance at Port %1").arg(GetPort() + 1));
|
||||
AddWidget(tr("GameBoy Advance"), widget);
|
||||
break;
|
||||
case Type::MAPPING_GC_KEYBOARD:
|
||||
widget = new GCKeyboardEmu(this);
|
||||
AddWidget(tr("GameCube Keyboard"), widget);
|
||||
setWindowTitle(tr("GameCube Keyboard at Port %1").arg(GetPort() + 1));
|
||||
AddWidget(tr("GameCube Keyboard"), widget);
|
||||
break;
|
||||
case Type::MAPPING_GC_BONGOS:
|
||||
case Type::MAPPING_GC_STEERINGWHEEL:
|
||||
|
Reference in New Issue
Block a user