11 #include "games/GameTypes.h" 12 #include "games/controllers/ControllerTypes.h" 84 const std::string&
ID()
const {
return m_portId; }
100 bool m_forceConnected{
false};
std::vector< GameClientDevicePtr > GameClientDeviceVec
Vector of smart pointers to input devices for a game client (CGameClientDevice)
Definition: GameTypes.h:64
const GameClientDeviceVec & Devices() const
Get the list of devices accepted by this port.
Definition: GameClientPort.h:95
const std::string & ID() const
Get the ID of the port.
Definition: GameClientPort.h:84
~CGameClientPort()
Destructor.
CGameClientPort(const game_input_port &port)
Construct a hardware port.
Definition: GameClientPort.cpp:23
bool ForceConnected() const
True if a controller must be connected, preventing the disconnected option from being shown to the us...
Definition: GameClientPort.h:90
Definition: AudioDecoder.h:18
PORT_TYPE PortType() const
Get the port type.
Definition: GameClientPort.h:77
Definition: PhysicalPort.h:27
Represents a port that devices can connect to.
Definition: GameClientPort.h:30
PORT_TYPE
Type of input provided by a hardware or controller port.
Definition: ControllerTypes.h:39
std::vector< ControllerPtr > ControllerVector
Vector of smart pointers to a game controller (CController)
Definition: ControllerTypes.h:32