/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | VsControlManager.cpp | 51 shared_ptr<StandardController> controllers[2]; in RemapControllerButtons() 52 controllers[0] = std::dynamic_pointer_cast<StandardController>(GetControlDevice(0)); in RemapControllerButtons() 53 controllers[1] = std::dynamic_pointer_cast<StandardController>(GetControlDevice(1)); in RemapControllerButtons() 68 …ntrolDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[1], Stand… in RemapControllerButtons() 69 …ntrolDevice::SwapButtons(controllers[0], StandardController::Buttons::Select, controllers[1], Stan… in RemapControllerButtons() 72 …ControlDevice::SwapButtons(controllers[0], StandardController::Buttons::B, controllers[1], Standar… in RemapControllerButtons() 76 …ntrolDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[0], Stand… in RemapControllerButtons() 77 …ntrolDevice::SwapButtons(controllers[1], StandardController::Buttons::Start, controllers[1], Stand… in RemapControllerButtons() 81 controllers[0]->SetBit(StandardController::Buttons::Start); in RemapControllerButtons() 82 controllers[1]->SetBit(StandardController::Buttons::Start); in RemapControllerButtons() [all …]
|
H A D | HoriTrack.h | 6 class HoriTrack : public StandardController 13 StandardController::InternalSetStateFromInput(); in InternalSetStateFromInput() 14 …SetPressedState(StandardController::Buttons::A, KeyManager::IsMouseButtonPressed(MouseButton::Left… in InternalSetStateFromInput() 15 …SetPressedState(StandardController::Buttons::B, KeyManager::IsMouseButtonPressed(MouseButton::Righ… in InternalSetStateFromInput() 20 …HoriTrack(shared_ptr<Console> console, KeyMappingSet keyMappings) : StandardController(console, B… in HoriTrack() 48 StandardController::RefreshStateBuffer(); in RefreshStateBuffer()
|
H A D | PachinkoController.h | 5 class PachinkoController : public StandardController 15 StandardController::InternalSetStateFromInput(); in InternalSetStateFromInput() 24 …PachinkoController(shared_ptr<Console> console, KeyMappingSet keyMappings) : StandardController(co… in PachinkoController() 57 StandardController::RefreshStateBuffer(); in RefreshStateBuffer()
|
H A D | BandaiHyperShot.h | 8 class BandaiHyperShot : public StandardController 21 return StandardController::GetKeyNames() + "F"; in GetKeyNames() 26 StandardController::InternalSetStateFromInput(); in InternalSetStateFromInput() 52 …BandaiHyperShot(shared_ptr<Console> console, KeyMappingSet keyMappings) : StandardController(conso… in BandaiHyperShot()
|
H A D | LuaApi.cpp | 680 …shared_ptr<StandardController> controller = std::dynamic_pointer_cast<StandardController>(_console… in GetInput() 684 lua_pushboolvalue(a, controller->IsPressed(StandardController::Buttons::A)); in GetInput() 685 lua_pushboolvalue(b, controller->IsPressed(StandardController::Buttons::B)); in GetInput() 686 lua_pushboolvalue(start, controller->IsPressed(StandardController::Buttons::Start)); in GetInput() 687 lua_pushboolvalue(select, controller->IsPressed(StandardController::Buttons::Select)); in GetInput() 688 lua_pushboolvalue(up, controller->IsPressed(StandardController::Buttons::Up)); in GetInput() 689 lua_pushboolvalue(down, controller->IsPressed(StandardController::Buttons::Down)); in GetInput() 690 lua_pushboolvalue(left, controller->IsPressed(StandardController::Buttons::Left)); in GetInput() 691 lua_pushboolvalue(right, controller->IsPressed(StandardController::Buttons::Right)); in GetInput() 726 …shared_ptr<StandardController> controller = std::dynamic_pointer_cast<StandardController>(_console… in SetInput() [all …]
|
H A D | EmulationSettings.cpp | 59 …ontrollerType controllers[4] = { ControllerType::StandardController, ControllerType::StandardContr… in InitializeInputDevices() 85 controllers[2] = controllers[3] = ControllerType::StandardController; in InitializeInputDevices() 90 controllers[2] = controllers[3] = ControllerType::StandardController; in InitializeInputDevices()
|
H A D | StandardController.h | 6 class StandardController : public BaseControlDevice 81 …StandardController(shared_ptr<Console> console, uint8_t port, KeyMappingSet keyMappings) : BaseCon… in StandardController() function 124 if(addr == 0x4016 && IsPressed(StandardController::Buttons::Microphone)) { in ReadRAM()
|
H A D | BizhawkMovie.cpp | 87 StandardController* controller = dynamic_cast<StandardController*>(device); in SetInput()
|
H A D | Debugger.cpp | 1585 …shared_ptr<StandardController> controller = std::dynamic_pointer_cast<StandardController>(_console… in ProcessEvent() 1587 controller->SetBitValue(StandardController::Buttons::A, (_inputOverride[i] & 0x01) != 0); in ProcessEvent() 1588 controller->SetBitValue(StandardController::Buttons::B, (_inputOverride[i] & 0x02) != 0); in ProcessEvent() 1589 controller->SetBitValue(StandardController::Buttons::Select, (_inputOverride[i] & 0x04) != 0); in ProcessEvent() 1590 controller->SetBitValue(StandardController::Buttons::Start, (_inputOverride[i] & 0x08) != 0); in ProcessEvent() 1591 controller->SetBitValue(StandardController::Buttons::Up, (_inputOverride[i] & 0x10) != 0); in ProcessEvent() 1592 controller->SetBitValue(StandardController::Buttons::Down, (_inputOverride[i] & 0x20) != 0); in ProcessEvent() 1593 controller->SetBitValue(StandardController::Buttons::Left, (_inputOverride[i] & 0x40) != 0); in ProcessEvent() 1594 controller->SetBitValue(StandardController::Buttons::Right, (_inputOverride[i] & 0x80) != 0); in ProcessEvent()
|
H A D | VideoHud.cpp | 66 shared_ptr<StandardController> controller = std::dynamic_pointer_cast<StandardController>(device); in DisplayControllerInput()
|
H A D | ControlManager.cpp | 123 …case ControllerType::StandardController: device.reset(new StandardController(console, port, consol… in CreateControllerDevice()
|
H A D | EmulationSettings.h | 260 StandardController = 1, enumerator
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Forms/Config/ |
H A D | frmInputConfig.cs | 132 …ControllerType>() { InteropEmu.ControllerType.None, InteropEmu.ControllerType.StandardController }; in UpdateAvailableControllerTypes() 143 …llerTypes = new List<InteropEmu.ControllerType>() { InteropEmu.ControllerType.StandardController }; in UpdateAvailableControllerTypes() 247 … ((InputInfo)Entity).Controllers[0].ControllerType = InteropEmu.ControllerType.StandardController; in cboNesType_SelectedIndexChanged() 248 … ((InputInfo)Entity).Controllers[1].ControllerType = InteropEmu.ControllerType.StandardController; in cboNesType_SelectedIndexChanged() 272 … = selectedItem.Equals(ResourceHelper.GetEnumText(InteropEmu.ControllerType.StandardController)) || in UpdateSetupButtons() 333 case InteropEmu.ControllerType.StandardController: in btnSetup_Click() 478 case InteropEmu.ControllerType.StandardController: in UpdateConflictWarning() 492 …oleType.Famicom && controllerInfo.ControllerType == InteropEmu.ControllerType.StandardController) { in UpdateConflictWarning()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/TestHelper/ |
H A D | TestHelper.cpp | 197 SetControllerType(0, ControllerType::StandardController); in main() 198 SetControllerType(1, ControllerType::StandardController); in main()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/Config/ |
H A D | InputInfo.cs | 92 public InteropEmu.ControllerType ControllerType = InteropEmu.ControllerType.StandardController; 156 …ontrollerType = Controllers.Count <= 1 ? InteropEmu.ControllerType.StandardController : InteropEmu… in InitializeDefaults()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Libretro/ |
H A D | libretro.cpp | 733 case ControllerType::StandardController: device = DEVICE_GAMEPAD; break; in update_input_descriptors() 849 ControllerType type = ControllerType::StandardController; in update_core_controllers() 852 case DEVICE_GAMEPAD: type = ControllerType::StandardController; break; in update_core_controllers() 976 _console->GetSettings()->SetControllerType(0, ControllerType::StandardController); in retro_load_game() 977 _console->GetSettings()->SetControllerType(1, ControllerType::StandardController); in retro_load_game()
|
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/ |
H A D | InteropEmu.cs | 983 StandardController = 1, enumerator
|