/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/ |
H A D | BaseControlDevice.cpp | 8 BaseControlDevice::BaseControlDevice(shared_ptr<Console> console, uint8_t port, KeyMappingSet keyMa… in BaseControlDevice() function in BaseControlDevice 16 BaseControlDevice::~BaseControlDevice() in ~BaseControlDevice() 20 uint8_t BaseControlDevice::GetPort() in GetPort() 25 void BaseControlDevice::SetStateFromInput() in SetStateFromInput() 47 bool BaseControlDevice::IsExpansionDevice() in IsExpansionDevice() 69 void BaseControlDevice::ClearState() in ClearState() 121 string BaseControlDevice::GetTextState() in GetTextState() 154 bool BaseControlDevice::IsKeyboard() in IsKeyboard() 159 bool BaseControlDevice::HasCoordinates() in HasCoordinates() 164 bool BaseControlDevice::IsRawString() in IsRawString() [all …]
|
H A D | ControlManager.h | 8 class BaseControlDevice; variable 27 shared_ptr<BaseControlDevice> _mapperControlDevice; 35 vector<shared_ptr<BaseControlDevice>> _controlDevices; 36 shared_ptr<BaseControlDevice> _systemActionManager; 38 void RegisterControlDevice(shared_ptr<BaseControlDevice> controlDevice); 46 …r(shared_ptr<Console> console, shared_ptr<BaseControlDevice> systemActionManager, shared_ptr<BaseC… 68 shared_ptr<BaseControlDevice> GetControlDevice(uint8_t port); 69 vector<shared_ptr<BaseControlDevice>> GetControlDevices(); 72 …static shared_ptr<BaseControlDevice> CreateControllerDevice(ControllerType type, uint8_t port, sha… 73 …static shared_ptr<BaseControlDevice> CreateExpansionDevice(ExpansionPortDevice type, shared_ptr<Co…
|
H A D | ControlManager.cpp | 37 …r(shared_ptr<Console> console, shared_ptr<BaseControlDevice> systemActionManager, shared_ptr<BaseC… in ControlManager() 81 shared_ptr<BaseControlDevice> device = GetControlDevice(i); in GetPortStates() 91 shared_ptr<BaseControlDevice> ControlManager::GetControlDevice(uint8_t port) in GetControlDevice() 102 vector<shared_ptr<BaseControlDevice>> ControlManager::GetControlDevices() in GetControlDevices() 107 void ControlManager::RegisterControlDevice(shared_ptr<BaseControlDevice> controlDevice) in RegisterControlDevice() 119 shared_ptr<BaseControlDevice> device; in CreateControllerDevice() 138 shared_ptr<BaseControlDevice> device; in CreateExpansionDevice() 225 shared_ptr<BaseControlDevice> expDevice = GetControlDevice(BaseControlDevice::ExpDevicePort); in HasKeyboard() 271 for(shared_ptr<BaseControlDevice> &device : _controlDevices) { in UpdateInputState() 334 for(shared_ptr<BaseControlDevice> &device : _controlDevices) { in ReadRAM() [all …]
|
H A D | GameClientConnection.h | 17 std::deque<ControlDeviceState> _inputData[BaseControlDevice::PortCount]; 18 atomic<uint32_t> _inputSize[BaseControlDevice::PortCount]; 19 AutoResetEvent _waitForInput[BaseControlDevice::PortCount]; 27 shared_ptr<BaseControlDevice> _controlDevice; 28 shared_ptr<BaseControlDevice> _newControlDevice; 54 bool SetInput(BaseControlDevice *device) override;
|
H A D | FourScore.h | 4 class FourScore : public BaseControlDevice 13 BaseControlDevice::StreamState(saving); in StreamState() 26 …FourScore(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDevicePo… in FourScore()
|
H A D | VsControlManager.cpp | 68 …BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[1],… in RemapControllerButtons() 69 …BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Select, controllers[1]… in RemapControllerButtons() 72 …BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::B, controllers[1], Sta… in RemapControllerButtons() 76 …BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[0],… in RemapControllerButtons() 77 …BaseControlDevice::SwapButtons(controllers[1], StandardController::Buttons::Start, controllers[1],… in RemapControllerButtons() 202 …shared_ptr<BaseControlDevice> device = CreateControllerDevice(ControllerType::StandardController, … in UpdateControlDevices() 212 bool VsControlManager::SetInput(BaseControlDevice* device) in SetInput() 217 shared_ptr<BaseControlDevice> controlDevice = masterControlManager->GetControlDevice(port + 2); in SetInput()
|
H A D | BaseControlDevice.h | 11 class BaseControlDevice : public Snapshotable 55 …BaseControlDevice(shared_ptr<Console> console, uint8_t port, KeyMappingSet keyMappingSet = KeyMapp… 56 virtual ~BaseControlDevice(); 83 …void static SwapButtons(shared_ptr<BaseControlDevice> state1, uint8_t button1, shared_ptr<BaseCont…
|
H A D | SystemActionManager.h | 6 class SystemActionManager : public BaseControlDevice 21 BaseControlDevice::StreamState(saving); in StreamState() 27 …stemActionManager(std::shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice… in SystemActionManager()
|
H A D | AsciiTurboFile.h | 9 class AsciiTurboFile : public BaseControlDevice, public IBattery 21 BaseControlDevice::StreamState(saving); in StreamState() 27 …AsciiTurboFile(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDev… in AsciiTurboFile()
|
H A D | ExcitingBoxingController.h | 5 class ExcitingBoxingController : public BaseControlDevice 14 BaseControlDevice::StreamState(saving); in StreamState() 33 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice… in ExcitingBoxingController()
|
H A D | PartyTap.h | 5 class PartyTap : public BaseControlDevice 31 BaseControlDevice::StreamState(saving); in StreamState() 36 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice… in PartyTap()
|
H A D | OekaKidsTablet.h | 7 class OekaKidsTablet : public BaseControlDevice 35 BaseControlDevice::StreamState(saving); in StreamState() 40 …OekaKidsTablet(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDev… in OekaKidsTablet()
|
H A D | BattleBox.h | 9 class BattleBox : public BaseControlDevice, public IBattery 28 BaseControlDevice::StreamState(saving); in StreamState() 34 …BattleBox(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDevicePo… in BattleBox()
|
H A D | KonamiHyperShot.h | 6 class KonamiHyperShot : public BaseControlDevice 52 BaseControlDevice::StreamState(saving); in StreamState() 57 …nsole> console, KeyMappingSet p1, KeyMappingSet p2) : BaseControlDevice(console, BaseControlDevice… in KonamiHyperShot()
|
H A D | BarcodeBattlerReader.h | 7 class BarcodeBattlerReader : public BaseControlDevice, public IBarcodeReader 20 BaseControlDevice::StreamState(saving); in StreamState() 53 …BarcodeBattlerReader(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::… in BarcodeBattlerReader()
|
H A D | JissenMahjongController.h | 5 class JissenMahjongController : public BaseControlDevice 30 BaseControlDevice::StreamState(saving); in StreamState() 35 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice… in JissenMahjongController()
|
H A D | GameClientConnection.cpp | 65 for(int i = 0; i < BaseControlDevice::PortCount; i++) { in ClearInputData() 167 for(int i = 0; i < BaseControlDevice::PortCount; i++) { in DisableControllers() 172 bool GameClientConnection::SetInput(BaseControlDevice *device) in SetInput() 209 if(_controllerPort == BaseControlDevice::ExpDevicePort) { in InitControlDevice() 255 uint8_t availablePorts = (1 << BaseControlDevice::PortCount) - 1; in GetAvailableControllers() 257 if(playerInfo.ControllerPort < BaseControlDevice::PortCount) { in GetAvailableControllers()
|
H A D | BandaiMicrophone.h | 6 class BandaiMicrophone : public BaseControlDevice 32 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice… in BandaiMicrophone()
|
H A D | FamilyBasicDataRecorder.h | 8 class FamilyBasicDataRecorder : public BaseControlDevice 24 BaseControlDevice::StreamState(saving); in StreamState() 48 …amilyBasicDataRecorder(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice… in FamilyBasicDataRecorder()
|
H A D | ArkanoidController.h | 9 class ArkanoidController : public BaseControlDevice 34 BaseControlDevice::StreamState(saving); in StreamState() 53 ArkanoidController(shared_ptr<Console> console, uint8_t port) : BaseControlDevice(console, port) in ArkanoidController()
|
H A D | GameServer.cpp | 88 bool GameServer::SetInput(BaseControlDevice *device) in SetInput() 103 void GameServer::RecordInput(vector<shared_ptr<BaseControlDevice>> devices) in RecordInput() 105 for(shared_ptr<BaseControlDevice> &device : devices) { in RecordInput() 201 uint8_t availablePorts = (1 << BaseControlDevice::PortCount) - 1; in GetAvailableControllers() 203 if(playerInfo.ControllerPort < BaseControlDevice::PortCount) { in GetAvailableControllers()
|
H A D | PowerPad.h | 5 class PowerPad : public BaseControlDevice 50 BaseControlDevice::StreamState(saving); in StreamState() 55 …PowerPad(shared_ptr<Console> console, uint8_t port, KeyMappingSet keyMappings) : BaseControlDevice… in PowerPad()
|
H A D | FamilyBasicKeyboard.h | 5 class FamilyBasicKeyboard : public BaseControlDevice 81 BaseControlDevice::StreamState(saving); in StreamState() 86 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice… in FamilyBasicKeyboard()
|
H A D | IInputProvider.h | 3 class BaseControlDevice; variable 8 virtual bool SetInput(BaseControlDevice* device) = 0;
|
H A D | IInputRecorder.h | 4 class BaseControlDevice; variable 9 virtual void RecordInput(vector<shared_ptr<BaseControlDevice>> devices) = 0;
|