Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Represents the physical topology of controller add-ons. More...
#include <PhysicalTopology.h>
Public Member Functions | |
CPhysicalTopology ()=default | |
CPhysicalTopology (bool bProvidesInput, std::vector< CPhysicalPort > ports) | |
void | Reset () |
bool | ProvidesInput () const |
Check if the controller can provide player input. | |
const std::vector< CPhysicalPort > & | Ports () const |
Get a list of ports provided by this controller. | |
bool | Deserialize (const tinyxml2::XMLElement *pElement) |
Represents the physical topology of controller add-ons.
The physical topology of a controller defines how many ports it has and whether it can provide player input (hubs like the Super Multitap don't provide input).
|
default |
CPhysicalTopology::CPhysicalTopology | ( | bool | bProvidesInput, |
std::vector< CPhysicalPort > | ports ) |
bool CPhysicalTopology::Deserialize | ( | const tinyxml2::XMLElement * | pElement | ) |
|
inline |
Get a list of ports provided by this controller.
|
inline |
Check if the controller can provide player input.
This allows hubs to specify that they provide no input
void CPhysicalTopology::Reset | ( | ) |