Home
last modified time | relevance | path

Searched refs:BaseControlDevice (Results 1 – 25 of 58) sorted by relevance

123

/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DBaseControlDevice.cpp8 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 DControlManager.h8 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 DControlManager.cpp37 …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 DGameClientConnection.h17 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 DFourScore.h4 class FourScore : public BaseControlDevice
13 BaseControlDevice::StreamState(saving); in StreamState()
26 …FourScore(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDevicePo… in FourScore()
H A DVsControlManager.cpp68BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[1],… in RemapControllerButtons()
69BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Select, controllers[1]… in RemapControllerButtons()
72BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::B, controllers[1], Sta… in RemapControllerButtons()
76BaseControlDevice::SwapButtons(controllers[0], StandardController::Buttons::Start, controllers[0],… in RemapControllerButtons()
77BaseControlDevice::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 DBaseControlDevice.h11 class BaseControlDevice : public Snapshotable
55BaseControlDevice(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 DSystemActionManager.h6 class SystemActionManager : public BaseControlDevice
21 BaseControlDevice::StreamState(saving); in StreamState()
27 …stemActionManager(std::shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice in SystemActionManager()
H A DAsciiTurboFile.h9 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 DExcitingBoxingController.h5 class ExcitingBoxingController : public BaseControlDevice
14 BaseControlDevice::StreamState(saving); in StreamState()
33 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice in ExcitingBoxingController()
H A DPartyTap.h5 class PartyTap : public BaseControlDevice
31 BaseControlDevice::StreamState(saving); in StreamState()
36 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice in PartyTap()
H A DOekaKidsTablet.h7 class OekaKidsTablet : public BaseControlDevice
35 BaseControlDevice::StreamState(saving); in StreamState()
40 …OekaKidsTablet(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice::ExpDev… in OekaKidsTablet()
H A DBattleBox.h9 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 DKonamiHyperShot.h6 class KonamiHyperShot : public BaseControlDevice
52 BaseControlDevice::StreamState(saving); in StreamState()
57 …nsole> console, KeyMappingSet p1, KeyMappingSet p2) : BaseControlDevice(console, BaseControlDevice in KonamiHyperShot()
H A DBarcodeBattlerReader.h7 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 DJissenMahjongController.h5 class JissenMahjongController : public BaseControlDevice
30 BaseControlDevice::StreamState(saving); in StreamState()
35 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice in JissenMahjongController()
H A DGameClientConnection.cpp65 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 DBandaiMicrophone.h6 class BandaiMicrophone : public BaseControlDevice
32 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice in BandaiMicrophone()
H A DFamilyBasicDataRecorder.h8 class FamilyBasicDataRecorder : public BaseControlDevice
24 BaseControlDevice::StreamState(saving); in StreamState()
48 …amilyBasicDataRecorder(shared_ptr<Console> console) : BaseControlDevice(console, BaseControlDevice in FamilyBasicDataRecorder()
H A DArkanoidController.h9 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 DGameServer.cpp88 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 DPowerPad.h5 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 DFamilyBasicKeyboard.h5 class FamilyBasicKeyboard : public BaseControlDevice
81 BaseControlDevice::StreamState(saving); in StreamState()
86 …ed_ptr<Console> console, KeyMappingSet keyMappings) : BaseControlDevice(console, BaseControlDevice in FamilyBasicKeyboard()
H A DIInputProvider.h3 class BaseControlDevice; variable
8 virtual bool SetInput(BaseControlDevice* device) = 0;
H A DIInputRecorder.h4 class BaseControlDevice; variable
9 virtual void RecordInput(vector<shared_ptr<BaseControlDevice>> devices) = 0;

123